t/my-tap-lib.sh in zbatery-0.2.1 vs t/my-tap-lib.sh in zbatery-0.3.0
- old
+ new
@@ -186,12 +186,13 @@
fi
t_fifos t_stdout t_stderr
(
# use a subshell so seds are not waitable
- $SED -e 's/^/#: /' $t_stdout &
- $SED -e 's/^/#! /' $t_stderr &
+ $SED -e 's/^/#: /' < $t_stdout &
+ $SED -e 's/^/#! /' < $t_stderr &
) &
+ wait
exec > $t_stdout 2> $t_stderr
else
exec > /dev/null 2> /dev/null
fi