tests: add test for argv-parse splitting issue with filenames

feature/tap-sh
William Pitcock 2012-07-25 17:07:34 -05:00
parent f522f55e12
commit c544e9e052
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: argv-parse-2
Description: A testing pkg-config file
Version: 1.2.3
Libs: -llib-1 -pthread ${libdir}/lib2.so
Cflags:

View File

@ -85,6 +85,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs --cflags baz" \
'-lbaz' '-fPIC' '-I/usr/include/foo'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --static --libs baz" \
'-lfoo' '-lbaz' '-lzee'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --static --libs argv-parse-2" \
'-pthread '
# 4) tests for parser bugs
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs dos-lineendings" \