tests: add regression test for maximum package count off-by-one

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
master
Ariadne Conill 2023-05-02 11:58:56 -07:00
parent 1e179963d4
commit 7bfc2289fd
1 changed files with 8 additions and 1 deletions

View File

@ -31,7 +31,8 @@ tests_init \
explicit_sysroot \
empty_tuple \
solver_requires_private_debounce \
billion_laughs
billion_laughs \
maximum_package_depth_off_by_one
# sysroot_munge \
@ -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
}
maximum_package_depth_off_by_one_body()
{
atf_check -o inline:"1.2.3\n" \
pkgconf --with-path="${selfdir}/lib1" --modversion foo bar baz
}