httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1773936 - in /httpd/test/mod_h2/trunk/test: go/test_fuzz.sh go/test_get.sh test.sh
Date Tue, 13 Dec 2016 09:51:28 GMT
Author: icing
Date: Tue Dec 13 09:51:28 2016
New Revision: 1773936

URL: http://svn.apache.org/viewvc?rev=1773936&view=rev
Log:
allowing go version override via GO env var

Modified:
    httpd/test/mod_h2/trunk/test/go/test_fuzz.sh
    httpd/test/mod_h2/trunk/test/go/test_get.sh
    httpd/test/mod_h2/trunk/test/test.sh

Modified: httpd/test/mod_h2/trunk/test/go/test_fuzz.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/go/test_fuzz.sh?rev=1773936&r1=1773935&r2=1773936&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/go/test_fuzz.sh (original)
+++ httpd/test/mod_h2/trunk/test/go/test_fuzz.sh Tue Dec 13 09:51:28 2016
@@ -16,7 +16,7 @@
 
 source $(dirname $0)/../test_common.sh
 
-GO=go
+GO=${GO:-go}
 TOP=$( dirname "$0" )
 H2FUZZ="$GO run $TOP/h2fuzz.go"
 

Modified: httpd/test/mod_h2/trunk/test/go/test_get.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/go/test_get.sh?rev=1773936&r1=1773935&r2=1773936&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/go/test_get.sh (original)
+++ httpd/test/mod_h2/trunk/test/go/test_get.sh Tue Dec 13 09:51:28 2016
@@ -16,7 +16,7 @@
 
 source $(dirname $0)/../test_common.sh
 
-GO=go
+GO=${GO:-go}
 GO_GET="$GO run $(dirname $0)/get.go"
 
 go_check_content() {

Modified: httpd/test/mod_h2/trunk/test/test.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/test.sh?rev=1773936&r1=1773935&r2=1773936&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/test.sh (original)
+++ httpd/test/mod_h2/trunk/test/test.sh Tue Dec 13 09:51:28 2016
@@ -110,9 +110,11 @@ $SHELL "$TEST_DIR"/test_trailer.sh     $
 fail
 
 export TEST_GO=no
+GO=${GO:-go}
+export GO
 case "$(type -p go)" in
     *go)
-        goversion=$(go version)
+        goversion=$($GO version)
         goversion=${goversion##go version go}
         goversion=${goversion%% *}
         gov=${goversion%%rc*} # trim release candidates



Mime
View raw message