]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/logs/good-multiline
Don't split on ; in quotes.
[blhc/blhc.git] / t / logs / good-multiline
index e97595872fae6ab852e0b94e7aadf369488c055d..24a684f15a6f0f5e9cbeed24dbfa03df76b8f68b 100644 (file)
@@ -1,3 +1,5 @@
+dpkg-buildpackage: source package test
+
 # Command over multiple lines.
 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 \
 \
@@ -36,3 +38,6 @@ gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-securit
 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-b.c
 # Escaped ";" - not really useful, just to check it works.
 gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security \; -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-a.c
+
+gcc -c test.c `echo -g -O2 -fstack-protector --param=ssp-buffer-size=4 echo -Wformat -Wformat-security -Werror=format-security | sed 's/.../; s/.../'` -D_FORTIFY_SOURCE=2 -o test.o
+gcc -c test.c `echo -g -O2 -fstack-protector --param=ssp-buffer-size=4 echo -Wformat -Wformat-security -Werror=format-security | sed "s/.../; s/.../"` -D_FORTIFY_SOURCE=2 -o test.o