summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:32:26 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:32:26 +0100
commit30d5bd4d72248f63eb5b20209a4ba9537dc44295 (patch)
treef73bfa03ec9f3cf5398d00b4089674b811dd1c6d
parent5c6425de4249ce9858a2b7262368927d7d1724a8 (diff)
downloadtdelibs-30d5bd4d.tar.gz
tdelibs-30d5bd4d.zip
testing: fix bash specific syntax in dcop test
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--dcop/tests/run-tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dcop/tests/run-tests.sh b/dcop/tests/run-tests.sh
index 2dbc55062..7ec749217 100644
--- a/dcop/tests/run-tests.sh
+++ b/dcop/tests/run-tests.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
clean_up() {
rm -f batch.stdout shell.stdout shell.returns batch.returns
@@ -42,7 +43,7 @@ echo '* Running driver mode'
./driver "TestApp-$DCOP_TEST_PID" >driver.stdout || die "Failed to start driver"
echo '* Running shell mode'
-source ./shell.generated >shell.returns
+. ./shell.generated >shell.returns
echo -n '* Comparing ... '