tests: add testcase for tuple dequoting bug (legacy github bug #186)

pull/187/merge
William Pitcock 2018-06-14 16:11:21 -05:00
parent 854a6adfe9
commit ae7faf73fd
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
prefix="/usr"
prefix="/test"
libdir=${prefix}/lib
Name: tuple-quoting

View File

@ -29,7 +29,8 @@ tests_init \
fragment_quoting_5 \
fragment_quoting_7 \
msvc_fragment_quoting \
msvc_fragment_render_cflags
msvc_fragment_render_cflags \
tuple_dequote
comments_body()
{
@ -266,3 +267,10 @@ msvc_fragment_render_cflags_body()
-o inline:'/I/test/include/foo /DFOO_STATIC \n' \
pkgconf --cflags --static --msvc-syntax foo
}
tuple_dequote_body()
{
atf_check \
-o inline:'-L/test/lib -lfoo \n' \
pkgconf --with-path="${selfdir}/lib1" --libs tuple-quoting
}