tests: add test for malformed version handling

pull/191/head
Ariadne Conill 2019-07-12 06:22:41 -05:00
parent 3783d65784
commit 312b4e51a9
1 changed files with 9 additions and 1 deletions

View File

@ -31,7 +31,8 @@ tests_init \
fragment_quoting_7 \ fragment_quoting_7 \
msvc_fragment_quoting \ msvc_fragment_quoting \
msvc_fragment_render_cflags \ msvc_fragment_render_cflags \
tuple_dequote tuple_dequote \
version_with_whitespace
comments_body() comments_body()
{ {
@ -283,3 +284,10 @@ tuple_dequote_body()
-o inline:'-L/test/lib -lfoo \n' \ -o inline:'-L/test/lib -lfoo \n' \
pkgconf --with-path="${selfdir}/lib1" --libs tuple-quoting pkgconf --with-path="${selfdir}/lib1" --libs tuple-quoting
} }
version_with_whitespace_body()
{
atf_check \
-o inline:'3.922\n' \
pkgconf --with-path="${selfdir}/lib1" --modversion malformed-version
}