summaryrefslogtreecommitdiff
path: root/tests/scripts/features/double_colon
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-11-14 07:31:06 +0000
committerPaul Smith <psmith@gnu.org>2011-11-14 07:31:06 +0000
commit4f47fbf953faae5d38bdc4e709aa8872e3914418 (patch)
treedfbddc44d0a293c59a1621b2c363bbed671c0e7f /tests/scripts/features/double_colon
parent9fcd90e36cf2ae981199ea185566c71f5742a5c9 (diff)
downloadgunmake-4f47fbf953faae5d38bdc4e709aa8872e3914418.tar.gz
Be sure to start parsing prereqs in the right place even if there are
escape characters (backslashes) in the target name. See Savannah bug #33399
Diffstat (limited to 'tests/scripts/features/double_colon')
-rw-r--r--tests/scripts/features/double_colon9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scripts/features/double_colon b/tests/scripts/features/double_colon
index cad605d..1097775 100644
--- a/tests/scripts/features/double_colon
+++ b/tests/scripts/features/double_colon
@@ -151,5 +151,14 @@ two');
unlink('result','one','two');
+# TEST 10: check for proper backslash handling
+# Savannah bug #33399
+
+run_make_test('
+a\ xb :: ; @echo one
+a\ xb :: ; @echo two
+',
+ '', "one\ntwo\n");
+
# This tells the test driver that the perl test script executed properly.
1;