diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-06-14 12:16:07 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-06-14 12:16:07 +0000 |
commit | e18ecaf108b37977508726de7e70b2727d8c0d44 (patch) | |
tree | a4d21cb63f37b3a471a92a9f64b7eb34270ec3ce /tests | |
parent | fe67ba6d2b2a0ed9d86d99003d51691fce0ee69a (diff) |
made stdin testing work, also made 'nocheck=true' work when set on the
reply data section
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index b181edb9f..84e910424 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); |