aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/make.tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 745a840f3..1fc95a8d2 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -459,6 +459,15 @@ target:
459 : hash $(hash) hash 459 : hash $(hash) hash
460' 460'
461 461
462# A '#' character can be escaped with a backslash
463testing "make backslash-escaped hash isn't a comment" \
464 "make -f -" \
465 ": hash # hash\n" "" '
466hash = \#
467target:
468 : hash $(hash) hash
469'
470
462# A '#' character in a command line doesn't start a comment 471# A '#' character in a command line doesn't start a comment
463testing "make hash in command line isn't a comment" \ 472testing "make hash in command line isn't a comment" \
464 "make -f -" \ 473 "make -f -" \