[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: tests: fix quoting in eval
From: |
Mike Frysinger |
Subject: |
[automake-commit] branch master updated: tests: fix quoting in eval |
Date: |
Mon, 24 Jan 2022 00:59:27 -0500 |
This is an automated email from the git hooks/post-receive script.
vapier pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=ec1a20a31e7b1aa56d9f747405bce47689f44237
The following commit(s) were added to refs/heads/master by this push:
new ec1a20a31 tests: fix quoting in eval
ec1a20a31 is described below
commit ec1a20a31e7b1aa56d9f747405bce47689f44237
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Mon Jan 24 00:57:30 2022 -0500
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: tests: fix quoting in eval,
Mike Frysinger <=