Skip to content

Commit 171dd3b

Browse files
committed
Prefix background output with label
1 parent c3427fb commit 171dd3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bats/helpers/common.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ run_background() {
3838
(
3939
"$@" 2>&1 &
4040
echo $! >"${TEST_PIDDIR}/${label}.pid"
41-
) | tee "$log_file" &
41+
) | tee "$log_file" | sed "s/^/#{label}: /" &
4242
}
4343

4444
bg_output_file() {

0 commit comments

Comments
 (0)