aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/make.tests8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index ba3855973..33e730602 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -370,10 +370,10 @@ testing "make replace escaped NL in macro in command with space" \
370 "make -f -" \ 370 "make -f -" \
371 "a b a b\n" "" ' 371 "a b a b\n" "" '
372M=word 372M=word
373N=${M:word=a\ 373N=${M:word=a\\
374b} 374b}
375target: 375target:
376 @echo ${N} ${M:word=a\ 376 @echo ${N} ${M:word=a\\
377b} 377b}
378' 378'
379 379
@@ -382,7 +382,7 @@ testing "make CURDIR macro" \
382 "make -f -" \ 382 "make -f -" \
383 "OK\n" "" ' 383 "OK\n" "" '
384target: 384target:
385 @test "$(CURDIR)" = "$$(pwd)" && echo OK 385 @test "$(CURDIR)" = "$$(pwd -P)" && echo OK
386' 386'
387# The CURDIR environment variable doesn't affect the macro 387# The CURDIR environment variable doesn't affect the macro
388export CURDIR=/you/are/here 388export CURDIR=/you/are/here
@@ -488,7 +488,7 @@ target:
488testing "make backslash-escaped hash isn't a comment" \ 488testing "make backslash-escaped hash isn't a comment" \
489 "make -f -" \ 489 "make -f -" \
490 ": hash # hash\n" "" ' 490 ": hash # hash\n" "" '
491hash = \# 491hash = \\#
492target: 492target:
493 : hash $(hash) hash 493 : hash $(hash) hash
494' 494'