summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-01-29 02:32:26 +0100
committerSlávek Banko <[email protected]>2017-01-29 02:48:50 +0100
commita6615bdaaa4ff01b68c661c8eb050ffe03e3d6fb (patch)
treea01eb521b8d556454e9e3fd3b82b8124b11bfc4f
parentb1e30d8c4fdd8cea2f31ca56ba12f2917fd29258 (diff)
downloadtdelibs-a6615bdaaa4ff01b68c661c8eb050ffe03e3d6fb.tar.gz
tdelibs-a6615bdaaa4ff01b68c661c8eb050ffe03e3d6fb.zip
testing: fix bash specific syntax in dcop test
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 30d5bd4d72248f63eb5b20209a4ba9537dc44295)
-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 ... '