Current Path : /usr/src/tools/regression/usr.bin/make/syntax/enl/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/regression/usr.bin/make/syntax/enl/Makefile |
# $FreeBSD: release/9.1.0/tools/regression/usr.bin/make/syntax/enl/Makefile 151442 2005-10-18 07:20:14Z harti $ # # Test handling of escaped newlines. # .ifmake test1 # This should succeed \ \ \ test1: @echo ok .elifmake test2 # This should print ok because the second assignment to foo is actually # a continued comment. FOO=ok #\ \ FOO=not ok test2: @echo "${FOO}" .elifmake test3 # Make sure an escaped newline inserts a space test3: a\ b a: @echo a b: @echo b .elifmake test4 # Make sure an escaped newline inserts exactly one space FOO=a\ b test4: @echo "${FOO}" .elifmake test5 # Make sure each escaped newline inserts exactly one space FOO=a\ \ \ \ b test5: @echo "${FOO}" .endif