Correctly track conformance test pids

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2025-06-17 13:01:12 -07:00
parent 4b221d0cd7
commit eb6fa3a230

View File

@@ -543,15 +543,14 @@ run-go-test() {
fi fi
go test -timeout=45m -v "$@" & go test -timeout=45m -v "$@" &
pids+=($!)
if [ "$LABEL" ]; then if [ "$LABEL" ]; then
# Reset LABEL and restore stdout and stderr # Reset LABEL and restore stdout and stderr
unset "LABEL" unset "LABEL"
exec 1>&3 2>&4 exec 1>&3 2>&4
exec 3>&- 4>&- exec 3>&- 4>&-
fi fi
pids+=($!)
} }
export -f run-go-test export -f run-go-test