summaryrefslogtreecommitdiff
path: root/tests/scripts/functions
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-09-28 23:08:49 +0000
committerPaul Smith <psmith@gnu.org>2009-09-28 23:08:49 +0000
commitf907a4d90c895f04ee7497a5f1b58ad1fd3cddb5 (patch)
treeaf19406bf81da1ad0fa78609d1195c959e31af0a /tests/scripts/functions
parentf5891a26d8d3ed87b059856650b2bdb0c7ea355e (diff)
downloadgunmake-f907a4d90c895f04ee7497a5f1b58ad1fd3cddb5.tar.gz
- Update manual description for pattern rule search algorithm
- Add new "-all" flag to the test suite to run tests that don't pass yet - Add some non-passing tests - Fix from Andreas Buening for OS/2.
Diffstat (limited to 'tests/scripts/functions')
-rw-r--r--tests/scripts/functions/shell9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scripts/functions/shell b/tests/scripts/functions/shell
index ecea4cf..723cd0e 100644
--- a/tests/scripts/functions/shell
+++ b/tests/scripts/functions/shell
@@ -11,6 +11,15 @@ all: ; @echo $(shell echo hi)
','','hi');
+# Test unescaped comment characters in shells. Savannah bug #20513
+if ($all_tests) {
+ run_make_test(q!
+FOO := $(shell echo '#')
+foo: ; echo '$(FOO)'
+!,
+ '', "#\n");
+}
+
# Test shells inside exported environment variables.
# This is the test that fails if we try to put make exported variables into
# the environment for a $(shell ...) call.