[master] 3d3c876 There are still systems out there where the shell builtin echo doesn't understand -n ?

Poul-Henning Kamp phk at FreeBSD.org
Fri Dec 2 19:52:05 CET 2016


commit 3d3c876a9e95324fa6a9e6d8a9ff0d51b2197067
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Dec 2 18:50:30 2016 +0000

    There are still systems out there where the shell
    builtin echo doesn't understand -n ?
    
    Really ?

diff --git a/tools/vtest.sh b/tools/vtest.sh
index dd7a36b..5eff55c 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -75,7 +75,7 @@ makedistcheck () (
 failedtests () (
 	for t in `grep '^FAIL: tests/' ${1} | sort -u | sed 's/.* //'`
 	do
-		echo -n "VTCGITREV ${t} "
+		/bin/echo -n "VTCGITREV ${t} "
 		(
 			cd varnish-cache/bin/varnishtest/
 			git log -n 1 ${t} | head -1



More information about the varnish-commit mailing list