httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1754130 - in /httpd/test/mod_h2/trunk/test: test_common.sh test_curl_altsvc.sh
Date Tue, 26 Jul 2016 13:52:45 GMT
Author: icing
Date: Tue Jul 26 13:52:44 2016
New Revision: 1754130

URL: http://svn.apache.org/viewvc?rev=1754130&view=rev
Log:
test altsvc output clarification

Modified:
    httpd/test/mod_h2/trunk/test/test_common.sh
    httpd/test/mod_h2/trunk/test/test_curl_altsvc.sh

Modified: httpd/test/mod_h2/trunk/test/test_common.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/test_common.sh?rev=1754130&r1=1754129&r2=1754130&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/test_common.sh (original)
+++ httpd/test/mod_h2/trunk/test/test_common.sh Tue Jul 26 13:52:44 2016
@@ -521,7 +521,7 @@ curl_check_altsvc() {
     local EXP_ALT_SVC="$1"; shift;
     local MSG="$1"; shift;
     mkdir -p $TMP
-    echo -n " * curl check alt_svc at /$DOC..."
+    echo -n " * curl check alt_svc at /$DOC: $MSG..."
     ${CURL} "$@" -D $TMP/headers $URL_PREFIX/$DOC > /dev/null 2>&1 || fail "curl
failed with $?"
     alt_svc="$( fgrep -i 'Alt-Svc: ' $TMP/headers | tr -d "\r\n" )"
     alt_svc="${alt_svc#*: }"

Modified: httpd/test/mod_h2/trunk/test/test_curl_altsvc.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/test_curl_altsvc.sh?rev=1754130&r1=1754129&r2=1754130&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/test_curl_altsvc.sh (original)
+++ httpd/test/mod_h2/trunk/test/test_curl_altsvc.sh Tue Jul 26 13:52:44 2016
@@ -21,7 +21,7 @@ source $(dirname $0)/test_common.sh
 echo "curl ALT-SVC on: $@"
 
 URL_PREFIX="$HTTP_URL"
-curl_check_altsvc index.html '' --http1.1
+curl_check_altsvc index.html '' "http/1.1" --http1.1
 curl_check_altsvc index.html '' "http/1.1, signal used"             --http1.1 -H'Alt-Svc-Used:
1'
 curl_check_altsvc index.html '' "http/2"                            --http2
 



Mime
View raw message