]> granicus.if.org Git - curl/commitdiff
removed some /= 256 that was wrongly left
authorDaniel Stenberg <daniel@haxx.se>
Tue, 14 Nov 2000 11:56:16 +0000 (11:56 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Nov 2000 11:56:16 +0000 (11:56 +0000)
tests/runtests.pl

index be37618bf7fadb5878923a0f5b3282b551b9114e..0c1ac1fd0e72b51e209153f95de9108c5c1709ec 100755 (executable)
@@ -195,9 +195,6 @@ sub compare {
         $sec="$LOGDIR/stored.tmp";
     }
 
-#    $res = system("cmp $first $sec");
-#    $res /= 256;
-
     comparefiles($first, $sec);
     if ($res != 0) {
         print " $text FAILED";
@@ -291,8 +288,6 @@ sub singletest {
     else {
         # verify the received data
         $res = compare($CURLOUT, $REPLY, "data");
-        $res /= 256;
-
         if ($res) {
             exit;
         }
@@ -300,7 +295,6 @@ sub singletest {
         # verify the sent request
         $res = compare($SERVERIN, $HTTP, "http",
                        "^(User-Agent:|--curl|Content-Type: multipart/form-data; boundary=).*\r\n");
-        $res /= 256;
 
         # The strip pattern above is for stripping off User-Agent: since
         # that'll be different in all versions, and the lines in a
@@ -314,7 +308,6 @@ sub singletest {
         if ( -r "$VALIDOUT" ) {
 
             $res = compare($STDOUT, $VALIDOUT, "stdout");
-            $res /= 256;
             if($res) {
                 exit;
             }