forked from ariadne/pkgconf
tests: explicitly test --print-provides with malformed versions
parent
c10f69994b
commit
a91e0bf215
|
@ -32,7 +32,8 @@ tests_init \
|
||||||
msvc_fragment_quoting \
|
msvc_fragment_quoting \
|
||||||
msvc_fragment_render_cflags \
|
msvc_fragment_render_cflags \
|
||||||
tuple_dequote \
|
tuple_dequote \
|
||||||
version_with_whitespace
|
version_with_whitespace \
|
||||||
|
version_with_whitespace_2
|
||||||
|
|
||||||
comments_body()
|
comments_body()
|
||||||
{
|
{
|
||||||
|
@ -291,3 +292,10 @@ version_with_whitespace_body()
|
||||||
-o inline:'3.922\n' \
|
-o inline:'3.922\n' \
|
||||||
pkgconf --with-path="${selfdir}/lib1" --modversion malformed-version
|
pkgconf --with-path="${selfdir}/lib1" --modversion malformed-version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
version_with_whitespace_2_body()
|
||||||
|
{
|
||||||
|
atf_check \
|
||||||
|
-o inline:'malformed-version = 3.922\n' \
|
||||||
|
pkgconf --with-path="${selfdir}/lib1" --print-provides malformed-version
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue