tests: add regression test for --modversion with uninstalled pkg-config files

pull/190/head
Ariadne Conill 2023-08-17 11:50:00 -07:00
parent 6a84d70439
commit f0f28fa690
1 changed files with 7 additions and 0 deletions

View File

@ -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
}