Test escaped space in a library name
parent
41cb57e9cd
commit
b88808f708
|
@ -6,5 +6,5 @@ includedir=${prefix}/include
|
|||
Name: quotes
|
||||
Description: A testing pkg-config file
|
||||
Version: 1.2.3
|
||||
Libs: -L${libdir} -lfoo
|
||||
Libs: -L${libdir} -lfoo\ bar
|
||||
Cflags: -DQUOTED=\"bla\"
|
||||
|
|
|
@ -220,6 +220,8 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --list-all | grep -q 'multiline
|
|||
# test quoted #35
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags quotes" \
|
||||
"-DQUOTED=\\\"bla\\\""
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs quotes" \
|
||||
'-lfoo\ bar'
|
||||
|
||||
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs nolib; echo \$?" \
|
||||
'0'
|
||||
|
|
Loading…
Reference in New Issue