diff options
| author | sjg <sjg@NetBSD.org> | 2004-04-08 00:59:01 +0000 |
|---|---|---|
| committer | sjg <sjg@NetBSD.org> | 2004-04-08 00:59:01 +0000 |
| commit | 8bef426d13dfea2e8a39abe5edb5d1593e840ecb (patch) | |
| tree | 5f4393395fa8f996785c707f09be0366fd00b5d8 /usr.bin/make/unit-tests/test.exp | |
| parent | dfa47cfea0e36ece2027a155635686895abb118e (diff) | |
Add check for extraneous .else's - based on patch from Arne H. Juul
in PR/24420.
Add a unit-test for conditionals.
Also in the unit-test makefile strip any .CURDIR in output.
PR: 24420
Diffstat (limited to 'usr.bin/make/unit-tests/test.exp')
| -rw-r--r-- | usr.bin/make/unit-tests/test.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/make/unit-tests/test.exp b/usr.bin/make/unit-tests/test.exp index ee72c8daa84..bdfa7e41686 100644 --- a/usr.bin/make/unit-tests/test.exp +++ b/usr.bin/make/unit-tests/test.exp @@ -1,3 +1,7 @@ +make: "cond1" line 18: warning: extra else +make: "cond1" line 28: warning: extra else +2 is prime +A='other' B='unknown' LIB=a X_LIBS:M${LIB${LIB:tu}} is "/tmp/liba.a" LIB=a X_LIBS:M*/lib${LIB}.a is "/tmp/liba.a" LIB=a X_LIBS:M*/lib${LIB}.a:tu is "/TMP/LIBA.A" |
