[master] 5d3effc Add a owner-settable "MESSAGE"

Poul-Henning Kamp phk at FreeBSD.org
Mon Nov 21 21:48:05 CET 2016


commit 5d3effc1534fb77228aff9f80c7857b91bfb4518
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Nov 21 20:45:45 2016 +0000

    Add a owner-settable "MESSAGE"
    
    This goes into the 'id' on the server side, and is necessary because
    certain distingushing facts, like compiler/target architecture,
    cannot be determined until after autogen and the configure it
    creates have been run.

diff --git a/tools/vtest.sh b/tools/vtest.sh
index 8424475..dd7a36b 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -36,8 +36,9 @@ export MAKEFLAGS="${MAKEFLAGS:--j2}"
 export TMPDIR=`pwd`/tmp
 mkdir -p tmp
 
-# Contact email of responsible person
-CONTACT=phk at varnish-cache.org
+# Message to be shown in result pages
+# Max 10 char of [A-Za-z0-9/. _-]
+MESSAGE=
 
 WAITPERIOD=60		# unit: Seconds
 
@@ -141,7 +142,7 @@ do
 	mkdir _report
 	export LOG=_report/_log
 
-	echo "VTEST 1.01" > ${LOG}
+	echo "VTEST 1.02" > ${LOG}
 	echo "DATE `date +%s`" >> ${LOG}
 	echo "BRANCH trunk" >> ${LOG}
 	echo "HOST `hostname`" >> ${LOG}
@@ -151,6 +152,7 @@ do
 	else
 		echo "LSB none" >> ${LOG}
 	fi
+	echo "MESSAGE ${MESSAGE}" >> ${LOG}
 	echo "GITREV $rev" >> ${LOG}
 	if ! autogen >> _report/_autogen 2>&1 ; then
 		echo "AUTOGEN BAD" >> ${LOG}



More information about the varnish-commit mailing list