1
0
Fork 0

tests/x11: Get the right mutter pid and be more verbose

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3918>
This commit is contained in:
Sebastian Wick 2024-08-08 17:03:04 +02:00 committed by Marge Bot
parent 52a5984c45
commit adf28cad71

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -e set -ex
MUTTER="$1" MUTTER="$1"
@ -30,8 +30,8 @@ sleep 4
echo \# Replacing existing mutter with a new instance > /dev/stderr echo \# Replacing existing mutter with a new instance > /dev/stderr
$MUTTER --x11 --replace --mutter-plugin="$MUTTER_TEST_PLUGIN_PATH" & $MUTTER --x11 --replace --mutter-plugin="$MUTTER_TEST_PLUGIN_PATH" &
echo \# Launched with pid $MUTTER2_PID
MUTTER2_PID=$! MUTTER2_PID=$!
echo \# Launched with pid $MUTTER2_PID
wait $MUTTER1_PID wait $MUTTER1_PID
echo \# Waiting for the second mutter to finish loading echo \# Waiting for the second mutter to finish loading