test: Fix test race in 030-run

Signed-off-by: Ricardo Branco <rbranco@suse.de>
This commit is contained in:
Ricardo Branco
2025-09-24 18:30:40 +02:00
parent d7f33a79e0
commit 63c40feb8c

View File

@ -78,7 +78,7 @@ echo $rand | 0 | $rand
echo "$content" > $PODMAN_TMPDIR/tempfile
run_podman run --rm -i --preserve-fds=2 $IMAGE sh -c "cat <&4" 4<$PODMAN_TMPDIR/tempfile
is "$output" "$content" "container read input from fd 4"
assert "$output" =~ "$content" "container read input from fd 4"
}
# 'run --preserve-fd' passes a list of additional file descriptors into the container