httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1765779 - /httpd/test/mod_h2/trunk/test/test_flow.sh
Date Thu, 20 Oct 2016 09:10:11 GMT
Author: icing
Date: Thu Oct 20 09:10:11 2016
New Revision: 1765779

URL: http://svn.apache.org/viewvc?rev=1765779&view=rev
Log:
fixed sorting in flow test case

Modified:
    httpd/test/mod_h2/trunk/test/test_flow.sh

Modified: httpd/test/mod_h2/trunk/test/test_flow.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/test_flow.sh?rev=1765779&r1=1765778&r2=1765779&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/test_flow.sh (original)
+++ httpd/test/mod_h2/trunk/test/test_flow.sh Thu Oct 20 09:10:11 2016
@@ -123,7 +123,7 @@ while test $n -le $end; do
     nghttp_get "test mnot #164 - $n" -ns $url || fail
     i=$iterstart
     fails="" 
-    fgrep 'mnot164.py' gen/tmp/body | sort > gen/series
+    fgrep 'mnot164.py' gen/tmp/body | sort -n > gen/series
     while read xx start dur dur status len url; do
         elen="$[ i / 1024]K"
         if test "$status" != 200; then
@@ -131,7 +131,7 @@ while test $n -le $end; do
 $i unexpected response: $status"
         elif test "$elen" != "$len"; then
             fails="$fails
-$i unexpected length returned: $len"
+$i unexpected length returned: got '$len' expected '$elen'"
         fi
         i=$[ i + 1 ]
     done < gen/series



Mime
View raw message