summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-24 00:57:30 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-24 00:57:30 -0500
commitec1a20a31e7b1aa56d9f747405bce47689f44237 (patch)
treeb9fb88bab95952cfa85f15e7f82c563acd8e5551
parentb64df48bd97ea9ed3674ad63751e6dccfd458d87 (diff)
downloadautomake-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.mk2
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.