projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3869d4a
)
Ignore the result of the postcheck command in torture mode
author
Dan Fandrich
<dan@coneharvesters.com>
Mon, 21 Apr 2008 17:19:44 +0000
(17:19 +0000)
committer
Dan Fandrich
<dan@coneharvesters.com>
Mon, 21 Apr 2008 17:19:44 +0000
(17:19 +0000)
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
3c7fc88
..
606c72d
100755
(executable)
--- a/
tests/runtests.pl
+++ b/
tests/runtests.pl
@@
-2102,12
+2102,14
@@
sub singletest {
chomp $cmd;
subVariables \$cmd;
if($cmd) {
+ logmsg "postcheck $cmd\n" if($verbose);
my $rc = runclient("$cmd");
- if($rc != 0) {
+ # Must run the postcheck command in torture mode in order
+ # to clean up, but the result can't be relied upon.
+ if($rc != 0 && !$torture) {
logmsg " postcheck FAILED\n";
return 1;
}
- logmsg "postchecked $cmd\n" if($verbose);
}
# remove the special FTP command file after each test!