Skip to content

Commit bed196b

Browse files
committed
loop/006: fix the test failure with Bash 5.3
$ ./check loop/006 loop/006 (change loop backing file while creating/removing another loop device) [failed] runtime 31.526s ... 31.036s --- tests/loop/006.out 2025-07-15 06:27:41.485609277 -0400 +++ /root/blktests/results/nodev/loop/006.out.bad 2025-07-18 06:59:18.916498155 -0400 @@ -1,2 +1,3 @@ Running loop/006 +tests/loop/006: line 66: 700070 Killed run_setter "$loop_dev" Test complete Link: #191 Signed-off-by: Yi Zhang <[email protected]>
1 parent b6b104b commit bed196b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/loop/006

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ test() {
5656
# Discard KILLED messages from bash...
5757
{
5858
kill -9 $switch_pid
59+
wait $switch_pid
5960
kill -9 $set_pid
60-
wait
61+
wait $set_pid
6162
sleep 1
6263
} 2>/dev/null
6364

0 commit comments

Comments
 (0)