summaryrefslogtreecommitdiff
path: root/tests/scripts/functions/eval
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-08-29 18:45:31 +0000
committerPaul Smith <psmith@gnu.org>2005-08-29 18:45:31 +0000
commit0ffd22cb448ad10d5d212dd4760c9464ad5f1a92 (patch)
tree72cad95b7a29d3e24b9da5713fb3baf9c2966798 /tests/scripts/functions/eval
parentf7598efb676502e3ade6aac4a61be0984de4abda (diff)
downloadgunmake-0ffd22cb448ad10d5d212dd4760c9464ad5f1a92.tar.gz
Preserve the backslash that's printed by echo.
Diffstat (limited to 'tests/scripts/functions/eval')
-rw-r--r--tests/scripts/functions/eval4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scripts/functions/eval b/tests/scripts/functions/eval
index 9595d4e..6f02a7a 100644
--- a/tests/scripts/functions/eval
+++ b/tests/scripts/functions/eval
@@ -149,11 +149,11 @@ $(eval $(FOO))
run_make_test('
define FOO
-all: ; @echo he\llo
+all: ; @echo '."'".'he\llo'."'".'
@echo world
endef
$(eval $(FOO))
-', '', 'hello
+', '', 'he\llo
world');