From 94b3f118ccbd5076104ab8b0c25fa4fad860557f Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Mon, 8 Aug 2022 00:37:07 +0000 Subject: [PATCH] tests: add regression test to catch --modversion regression introduced by new solver --- tests/basic.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/basic.sh b/tests/basic.sh index 1bfe282..17e0d58 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -31,6 +31,7 @@ tests_init \ libs_static_ordering \ license_isc \ license_noassertion \ + modversion_noflatten \ pkg_config_path \ nolibs \ nocflags \ @@ -323,3 +324,10 @@ license_noassertion_body() -o inline:"bar: NOASSERTION\nfoo: ISC\n" \ pkgconf --with-path=${selfdir}/lib1 --license bar } + +modversion_noflatten_body() +{ + atf_check \ + -o inline:"1.3\n" \ + pkgconf --with-path=${selfdir}/lib1 --modversion bar +}