summaryrefslogtreecommitdiff
path: root/test/core/run-peer-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/run-peer-test.sh')
-rwxr-xr-xtest/core/run-peer-test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/core/run-peer-test.sh b/test/core/run-peer-test.sh
new file mode 100755
index 0000000..10d9528
--- /dev/null
+++ b/test/core/run-peer-test.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+# The peer server writes its address over stdout, which the client reads
+${DBUS_TOP_BUILDDIR}/libtool --mode=execute ./peer-server | ${DBUS_TOP_BUILDDIR}/libtool --mode=execute ./peer-client