From a925a16f5b4206e8bef4b5f5e3742bf1d1f75809 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 26 May 2011 14:24:46 +0300 Subject: Add test-cases for three RhBug:705115 scenarios --- tests/data/SPECS/hello-script.spec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/data/SPECS/hello-script.spec (limited to 'tests/data') 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 -- cgit v1.2.3