From: Daniel Stenberg Date: Thu, 14 Jun 2001 12:16:07 +0000 (+0000) Subject: made stdin testing work, also made 'nocheck=true' work when set on the X-Git-Tag: curl-7_8_1-pre3~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e18ecaf108b37977508726de7e70b2727d8c0d44;p=thirdparty%2Fcurl.git made stdin testing work, also made 'nocheck=true' work when set on the reply data section --- diff --git a/tests/runtests.pl b/tests/runtests.pl index b181edb9f3..84e9104243 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -470,7 +470,7 @@ sub singletest { # run curl, add -v for debug information output my $cmdargs="$out--include -v $cmd"; - my @stdintest = getpart("verify", "stdin"); + my @stdintest = getpart("client", "stdin"); if(@stdintest) { my $stdinfile="$LOGDIR/stdin-for-$testnum"; @@ -533,7 +533,9 @@ sub singletest { } } - if(@reply) { + my %replyattr = getpartattr("reply", "data"); + if(!$replyattr{'nocheck'} && + @reply) { # verify the received data my @out = loadarray($CURLOUT); $res = compare(\@out, \@reply);