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:
parent
52a5984c45
commit
adf28cad71
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue