Sun Oct 11 06:32:15 2015 UTC ()
Avoid echo -n in unit-tests


(sjg)
diff -r1.2 -r1.3 src/usr.bin/make/unit-tests/varmisc.exp
diff -r1.3 -r1.4 src/usr.bin/make/unit-tests/varmisc.mk

cvs diff -r1.2 -r1.3 src/usr.bin/make/unit-tests/varmisc.exp (expand / switch to context diff)
--- src/usr.bin/make/unit-tests/varmisc.exp 2015/10/11 04:51:24 1.2
+++ src/usr.bin/make/unit-tests/varmisc.exp 2015/10/11 06:32:15 1.3
@@ -1,14 +1,18 @@
 
 :D expanded when var set
-true,TRUE
+true
+TRUE
 :U expanded when var undef
-true,TRUE
+true
+TRUE
 :D skipped if var undef
 
 :U skipped when var set
 is set
 :? only lhs when value true
-true,TRUE
+true
+TRUE
 :? only rhs when value false
-false,FALSE
+false
+FALSE
 exit status 0

cvs diff -r1.3 -r1.4 src/usr.bin/make/unit-tests/varmisc.mk (expand / switch to context diff)
--- src/usr.bin/make/unit-tests/varmisc.mk 2015/10/11 04:51:24 1.3
+++ src/usr.bin/make/unit-tests/varmisc.mk 2015/10/11 06:32:15 1.4
@@ -1,4 +1,4 @@
-# $Id: varmisc.mk,v 1.3 2015/10/11 04:51:24 sjg Exp $
+# $Id: varmisc.mk,v 1.4 2015/10/11 06:32:15 sjg Exp $
 #
 # Miscellaneous variable tests.
 
@@ -7,8 +7,8 @@
 unmatched_var_paren:
 	@echo ${foo::=foo-text}
 
-True = ${echo -n true,>&2:L:sh}TRUE
-False= ${echo -n false,>&2:L:sh}FALSE
+True = ${echo true >&2:L:sh}TRUE
+False= ${echo false >&2:L:sh}FALSE
 
 VSET= is set
 .undef UNDEF