diff options
author | sjg <sjg@FreeBSD.org> | 2013-09-05 15:57:26 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2013-09-05 15:57:26 +0000 |
commit | 61d13f6983f254f54a424483966100812c5a5c36 (patch) | |
tree | 11421e940bc58d36b4c59c4094bd98d6e21635b0 /contrib/bmake/unit-tests | |
parent | 42eb0e69b4a01ca059fa4db4d572fa4154de4bb7 (diff) | |
parent | 2abe6518e634d199cdd179ce1f2b3edce30a42e1 (diff) | |
download | FreeBSD-src-61d13f6983f254f54a424483966100812c5a5c36.zip FreeBSD-src-61d13f6983f254f54a424483966100812c5a5c36.tar.gz |
Merge bmake-20130904
Diffstat (limited to 'contrib/bmake/unit-tests')
-rw-r--r-- | contrib/bmake/unit-tests/Makefile.in | 5 | ||||
-rw-r--r-- | contrib/bmake/unit-tests/sunshcmd | 10 | ||||
-rw-r--r-- | contrib/bmake/unit-tests/test.exp | 3 |
3 files changed, 16 insertions, 2 deletions
diff --git a/contrib/bmake/unit-tests/Makefile.in b/contrib/bmake/unit-tests/Makefile.in index 78ca92f..3f70f8a 100644 --- a/contrib/bmake/unit-tests/Makefile.in +++ b/contrib/bmake/unit-tests/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.43 2013/07/16 21:14:30 sjg Exp $ +# $Id: Makefile.in,v 1.44 2013/08/28 22:09:29 sjg Exp $ # -# $NetBSD: Makefile,v 1.37 2013/07/16 19:59:28 sjg Exp $ +# $NetBSD: Makefile,v 1.38 2013/08/28 21:56:50 sjg Exp $ # # Unit tests for make(1) # The main targets are: @@ -45,6 +45,7 @@ SUBFILES= \ phony-end \ posix \ qequals \ + sunshcmd \ sysv \ ternary \ unexport \ diff --git a/contrib/bmake/unit-tests/sunshcmd b/contrib/bmake/unit-tests/sunshcmd new file mode 100644 index 0000000..e3baf90 --- /dev/null +++ b/contrib/bmake/unit-tests/sunshcmd @@ -0,0 +1,10 @@ +BYECMD = echo bye +LATERCMD = echo later +TEST1 :sh = echo hello +TEST2 :sh = ${BYECMD} +TEST3 = ${LATERCMD:sh} + +all: + @echo "TEST1=${TEST1}" + @echo "TEST2=${TEST2}" + @echo "TEST3=${TEST3}" diff --git a/contrib/bmake/unit-tests/test.exp b/contrib/bmake/unit-tests/test.exp index b6fad78..aaecb96 100644 --- a/contrib/bmake/unit-tests/test.exp +++ b/contrib/bmake/unit-tests/test.exp @@ -349,6 +349,9 @@ Now we expect an error... *** Error code 1 (continuing) `all' not remade because of errors. V.i386 ?= OK +TEST1=hello +TEST2=bye +TEST3=later FOOBAR = FOOBAR = foobar fubar fun |