diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-05-26 14:24:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-05-26 14:24:46 +0300 |
commit | a925a16f5b4206e8bef4b5f5e3742bf1d1f75809 (patch) | |
tree | e0e6cc18141b4316e5df62118788351d4a429413 /tests/data | |
parent | afe6aa0fd35e072289f5a04f71ddea58c6d34856 (diff) | |
download | rpm-a925a16f5b4206e8bef4b5f5e3742bf1d1f75809.tar.gz rpm-a925a16f5b4206e8bef4b5f5e3742bf1d1f75809.tar.bz2 rpm-a925a16f5b4206e8bef4b5f5e3742bf1d1f75809.zip |
Add test-cases for three RhBug:705115 scenarios
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/SPECS/hello-script.spec | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/data/SPECS/hello-script.spec b/tests/data/SPECS/hello-script.spec new file mode 100644 index 000000000..567519e33 --- /dev/null +++ b/tests/data/SPECS/hello-script.spec @@ -0,0 +1,22 @@ +Name: hello-script +Version: 1.0 +Release: 1 +Summary: Testing file conflict behavior + +Group: Testing +License: GPL +BuildArch: noarch + +%description +%{summary} + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/bin +cat << EOF > $RPM_BUILD_ROOT/usr/bin/hello +echo "Hello world!" +EOF + +%files +%defattr(-,root,root,-) +/usr/bin/hello |