tests: add regression test to catch --modversion regression introduced by new solver

pull/243/head
Ariadne Conill 2022-08-08 00:37:07 +00:00
parent d8d669f637
commit 94b3f118cc
1 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,7 @@ tests_init \
libs_static_ordering \ libs_static_ordering \
license_isc \ license_isc \
license_noassertion \ license_noassertion \
modversion_noflatten \
pkg_config_path \ pkg_config_path \
nolibs \ nolibs \
nocflags \ nocflags \
@ -323,3 +324,10 @@ license_noassertion_body()
-o inline:"bar: NOASSERTION\nfoo: ISC\n" \ -o inline:"bar: NOASSERTION\nfoo: ISC\n" \
pkgconf --with-path=${selfdir}/lib1 --license bar pkgconf --with-path=${selfdir}/lib1 --license bar
} }
modversion_noflatten_body()
{
atf_check \
-o inline:"1.3\n" \
pkgconf --with-path=${selfdir}/lib1 --modversion bar
}