tests: add test for malformed version handling
parent
3783d65784
commit
312b4e51a9
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue