about summary refs log tree commit homepage
path: root/t/run.perl
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-24 20:09:36 +0000
committerEric Wong <e@80x24.org>2021-04-24 16:10:17 -0400
commitb437cc7f5ad2712d9064c691c5946be80a73eedb (patch)
treefbdc316300fd969af69dffcd1de04b1567b40241 /t/run.perl
parent1c0dce28a8604b16488ea7416dcf1bddd66a5d42 (diff)
downloadpublic-inbox-b437cc7f5ad2712d9064c691c5946be80a73eedb.tar.gz
This allows proper error reporting on daemon failure
when using "check-run".
Diffstat (limited to 't/run.perl')
-rwxr-xr-xt/run.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/run.perl b/t/run.perl
index 1fb1c5f0..f4e235b7 100755
--- a/t/run.perl
+++ b/t/run.perl
@@ -225,6 +225,6 @@ for (my $i = $repeat; $i != 0; $i--) {
 
 print $OLDOUT "1..".($repeat * scalar(@tests))."\n" if $repeat >= 0;
 if ($lei_env && $$ == $owner_pid) {
-        my $opt = {}; # 1 => $OLDOUT, 2 => $OLDERR };
+        my $opt = { 1 => $OLDOUT, 2 => $OLDERR };
         run_script([qw(lei daemon-kill)], $lei_env, $opt);
 }