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 b22f1ade93d7..31d43e86856e 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.34.1