summaryrefslogtreecommitdiff
path: root/test/run-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-test.sh')
-rwxr-xr-xtest/run-test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/run-test.sh b/test/run-test.sh
index 9eacd1a..ae370a4 100755
--- a/test/run-test.sh
+++ b/test/run-test.sh
@@ -68,10 +68,11 @@ cross_test_server_pid="$!"
$PYTHON "$DBUS_TOP_SRCDIR"/test/wait-for-name.py org.freedesktop.DBus.Binding.TestServer
+e=0
$PYTHON "$DBUS_TOP_SRCDIR"/test/cross-test-client.py > "$DBUS_TEST_TMPDIR"/cross-client.log || e=$?
echo "test-client exit status: $e"
-if test $e = 77; then
+if test "$e" = 77; then
echo "cross-test-client exited $e, marking as skipped"
skipped=yes
elif grep . "$DBUS_TEST_TMPDIR"/cross-client.log >/dev/null; then
@@ -81,7 +82,7 @@ else
failed=yes
fi
-if test $e = 77; then
+if test "$e" = 77; then
echo "test-client exited $e, marking as skipped"
skipped=yes
elif grep . "$DBUS_TEST_TMPDIR"/cross-server.log >/dev/null; then