summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/multi-line-macro2.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-20 18:49:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-20 18:49:46 +0000
commit47a810b2ff166e6b7639fceb09d438e5b2299bb5 (patch)
tree9db3bd23a9766ef168bff042664826d3cc8c1cf4 /t/data/SPECS/multi-line-macro2.spec
parentede316b37754d3d77ff9c4ed70c5a824e11bdc03 (diff)
downloadurpmi-47a810b2ff166e6b7639fceb09d438e5b2299bb5.tar
urpmi-47a810b2ff166e6b7639fceb09d438e5b2299bb5.tar.gz
urpmi-47a810b2ff166e6b7639fceb09d438e5b2299bb5.tar.bz2
urpmi-47a810b2ff166e6b7639fceb09d438e5b2299bb5.tar.xz
urpmi-47a810b2ff166e6b7639fceb09d438e5b2299bb5.zip
add a test case for #27417 (no fix yet)
Diffstat (limited to 't/data/SPECS/multi-line-macro2.spec')
-rw-r--r--t/data/SPECS/multi-line-macro2.spec28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/data/SPECS/multi-line-macro2.spec b/t/data/SPECS/multi-line-macro2.spec
new file mode 100644
index 00000000..df7e4b45
--- /dev/null
+++ b/t/data/SPECS/multi-line-macro2.spec
@@ -0,0 +1,28 @@
+%define foobar echo foo > $RPM_BUILD_ROOT/etc/foo \
+ echo bar > $RPM_BUILD_ROOT/etc/bar
+
+Summary: x
+Name: multi-linux-macro
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%description
+x
+
+%files
+%defattr(-,root,root)
+/etc/foo
+/etc/bar
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
+%foobar
+# if %foobar is the last line it fails (#27417)