diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-24 00:57:30 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-24 00:57:30 -0500 |
commit | ec1a20a31e7b1aa56d9f747405bce47689f44237 (patch) | |
tree | b9fb88bab95952cfa85f15e7f82c563acd8e5551 | |
parent | b64df48bd97ea9ed3674ad63751e6dccfd458d87 (diff) | |
download | automake-ec1a20a31e7b1aa56d9f747405bce47689f44237.tar.gz |
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.
-rw-r--r-- | t/local.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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. |