From 7bfc2289fd67cc7a6cf8366750f652224442d3c5 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 2 May 2023 11:58:56 -0700 Subject: [PATCH] tests: add regression test for maximum package count off-by-one Signed-off-by: Ariadne Conill --- tests/regress.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/regress.sh b/tests/regress.sh index 37c665c..62abe21 100755 --- a/tests/regress.sh +++ b/tests/regress.sh @@ -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 +}