From: Mike Frysinger Date: Mon, 24 Jan 2022 05:57:30 +0000 (-0500) Subject: tests: fix quoting in eval X-Git-Tag: v1.16i~138 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec1a20a31e7b1aa56d9f747405bce47689f44237;p=thirdparty%2Fautomake.git 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. --- 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.