From ec1a20a31e7b1aa56d9f747405bce47689f44237 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 24 Jan 2022 00:57:30 -0500 Subject: [PATCH] tests: fix quoting in eval We need to escape the quotes so eval sees them when expanding the variable value, not when quoting the variable name itself. * t/local.mk: Escape quotes to eval. --- t/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/local.mk b/t/local.mk index b22f1ade9..31d43e868 100644 --- a/t/local.mk +++ b/t/local.mk @@ -51,7 +51,7 @@ AM_TESTS_ENVIRONMENT = \ am_test_lib_sourced \ test_lib_sourced \ ; do \ - eval test x"\$${$$v}" = x || unset $$v; \ + eval test x\"\$${$$v}\" = x || unset $$v; \ done; # We want warning messages and explanations for skipped tests to go to # the console if possible, so set up 'stderr_fileno_' properly. -- 2.47.2