From f0f28fa690bb623f25c6c8292ce5b5718a050102 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 17 Aug 2023 11:50:00 -0700 Subject: [PATCH] tests: add regression test for --modversion with uninstalled pkg-config files --- tests/regress.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/regress.sh b/tests/regress.sh index 37c665c..d1b740b 100755 --- a/tests/regress.sh +++ b/tests/regress.sh @@ -23,6 +23,7 @@ tests_init \ idirafter_munge_order \ idirafter_munge_sysroot \ idirafter_ordering \ + modversion_uninstalled \ pcpath \ virtual_variable \ fragment_collision \ @@ -273,3 +274,9 @@ billion_laughs_body() atf_check -o inline:"warning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\n" \ pkgconf --with-path="${selfdir}/lib1" --validate billion-laughs } + +modversion_uninstalled_body() +{ + atf_check -o inline:"1.2.3\n" \ + pkgconf --with-path="${selfdir}/lib1" --modversion omg +}