mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 12:35:04 -05:00
Ignore the result of the postcheck command in torture mode
This commit is contained in:
parent
3869d4a3a7
commit
768e3e796e
@ -2102,12 +2102,14 @@ sub singletest {
|
|||||||
chomp $cmd;
|
chomp $cmd;
|
||||||
subVariables \$cmd;
|
subVariables \$cmd;
|
||||||
if($cmd) {
|
if($cmd) {
|
||||||
|
logmsg "postcheck $cmd\n" if($verbose);
|
||||||
my $rc = runclient("$cmd");
|
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";
|
logmsg " postcheck FAILED\n";
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
logmsg "postchecked $cmd\n" if($verbose);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# remove the special FTP command file after each test!
|
# remove the special FTP command file after each test!
|
||||||
|
Loading…
Reference in New Issue
Block a user