$sec="$LOGDIR/stored.tmp";
}
-# $res = system("cmp $first $sec");
-# $res /= 256;
-
comparefiles($first, $sec);
if ($res != 0) {
print " $text FAILED";
else {
# verify the received data
$res = compare($CURLOUT, $REPLY, "data");
- $res /= 256;
-
if ($res) {
exit;
}
# 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
if ( -r "$VALIDOUT" ) {
$res = compare($STDOUT, $VALIDOUT, "stdout");
- $res /= 256;
if($res) {
exit;
}