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
go test -timeout=45m -v "$@" &
pids+=($!)
if [ "$LABEL" ]; then
# Reset LABEL and restore stdout and stderr
unset "LABEL"
exec 1>&3 2>&4
exec 3>&- 4>&-
fi
pids+=($!)
fi
}
export -f run-go-test