diff --git a/tests/run.sh b/tests/run.sh index 57f0d136e..2a1266e7d 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -90,6 +90,7 @@ export XDG_CONFIG_HOME="$build_dir" cleanup() { for p in $awesome_pid $xserver_pid; do kill -TERM "$p" 2>/dev/null || true + wait "$p" done rm -rf "$tmp_files" || true }