diff --git a/tests/chutney/setup b/tests/chutney/setup index fd18f943a..3837c378d 100755 --- a/tests/chutney/setup +++ b/tests/chutney/setup @@ -121,11 +121,9 @@ for idx in $(seq 30); do # shellcheck disable=SC1091 source tests/chutney/arti.run pid="${pid:?}" - if [ ! -d "/proc/$pid" ]; then + if ! kill -0 "$pid"; then result="${result:?}" echo "Arti failed to start with code $result" exit 1 fi done - -