From a6b1299537c021bfefe20125c82797df478fbcdd Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 18 Feb 2025 16:35:00 -0800 Subject: [PATCH] tests: add regression test for --variable Signed-off-by: Ariadne Conill --- tests/basic.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/basic.sh b/tests/basic.sh index a6c26ca..8debb32 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -44,7 +44,8 @@ tests_init \ relocatable \ single_depth_selectors \ print_variables_env \ - variable_env + variable_env \ + variable_no_recurse noargs_body() { @@ -381,3 +382,10 @@ variable_env_body() -o inline:"FOO_INCLUDEDIR='/test/include'\n" \ pkgconf --with-path=${selfdir}/lib1 --env=FOO --variable=includedir foo } + +variable_no_recurse_body() +{ + atf_check \ + -o inline:"/test/include\n" \ + pkgconf --with-path=${selfdir}/lib1 --variable=includedir bar +}