summaryrefslogtreecommitdiffstats
path: root/jrt_test/src/tests/echo/echo_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jrt_test/src/tests/echo/echo_test.sh')
-rwxr-xr-xjrt_test/src/tests/echo/echo_test.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/jrt_test/src/tests/echo/echo_test.sh b/jrt_test/src/tests/echo/echo_test.sh
index 997d8d42996..aabe3a10a25 100755
--- a/jrt_test/src/tests/echo/echo_test.sh
+++ b/jrt_test/src/tests/echo/echo_test.sh
@@ -1,6 +1,11 @@
#!/bin/bash
+
+if [ -z "$SOURCE_DIRECTORY" ]; then
+ SOURCE_DIRECTORY="."
+fi
+
fail=0
. ../../binref/env.sh
-bash ./dotest.sh || fail=1
-$BINREF/progctl.sh progdefs.sh stop all
+bash $SOURCE_DIRECTORY/dotest.sh || fail=1
+$SOURCE_DIRECTORY/../../binref/progctl.sh $SOURCE_DIRECTORY/progdefs.sh stop all
exit $fail