From adf28cad7103066ae816996c28b1941a276e0751 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Thu, 8 Aug 2024 17:03:04 +0200 Subject: [PATCH] tests/x11: Get the right mutter pid and be more verbose Part-of: --- src/tests/x11-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/x11-test.sh b/src/tests/x11-test.sh index d95b2460f..c826a00f7 100755 --- a/src/tests/x11-test.sh +++ b/src/tests/x11-test.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -ex MUTTER="$1" @@ -30,8 +30,8 @@ sleep 4 echo \# Replacing existing mutter with a new instance > /dev/stderr $MUTTER --x11 --replace --mutter-plugin="$MUTTER_TEST_PLUGIN_PATH" & -echo \# Launched with pid $MUTTER2_PID MUTTER2_PID=$! +echo \# Launched with pid $MUTTER2_PID wait $MUTTER1_PID echo \# Waiting for the second mutter to finish loading