regression: Backend error codes weren't being picked up.

This commit is contained in:
Solomon Peachy 2019-05-22 18:29:18 -04:00
parent 95af1c3029
commit 1f44fafe98
1 changed files with 2 additions and 2 deletions

View File

@ -246,9 +246,9 @@ if ($proc_count > 1 && $kid > 0) {
print join(":", @args) . "\n";
}
if ($quiet) {
run \@args, "<", "${work_dir}$currow-${gp_name}.raw", "2>", "/dev/null";
$rval = run \@args, "<", "${work_dir}$currow-${gp_name}.raw", "2>", "/dev/null";
} else {
run \@args, "<", "${work_dir}$currow-${gp_name}.raw";
$rval = run \@args, "<", "${work_dir}$currow-${gp_name}.raw";
}
if (!$rval) {
print("***** $row[0] $row[1] $row[2] $row[3] '$row[4]' FAIL: backend $?: $pages $copies -- " . join(":", @args) . "\n");