forked from ariadne/pkgconf
tests: add regression test for --modversion with uninstalled pkg-config files
parent
6a84d70439
commit
f0f28fa690
|
@ -23,6 +23,7 @@ tests_init \
|
||||||
idirafter_munge_order \
|
idirafter_munge_order \
|
||||||
idirafter_munge_sysroot \
|
idirafter_munge_sysroot \
|
||||||
idirafter_ordering \
|
idirafter_ordering \
|
||||||
|
modversion_uninstalled \
|
||||||
pcpath \
|
pcpath \
|
||||||
virtual_variable \
|
virtual_variable \
|
||||||
fragment_collision \
|
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" \
|
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
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue