diff --git a/tests/scripts/functions/eval b/tests/scripts/functions/eval
index 9595d4e3..6f02a7ab 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');