Skip to content
Snippets Groups Projects
Commit 768e3e79 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Ignore the result of the postcheck command in torture mode

parent 3869d4a3
No related branches found
No related tags found
No related merge requests found
......@@ -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!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment