summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/monitor/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh
index 44f21a28..26293e12 100755
--- a/tests/monitor/run-tests.sh
+++ b/tests/monitor/run-tests.sh
@@ -253,7 +253,7 @@ total_rc=0
for syntax in ${syntaxes:-standard json}; do
[ $syntax == json ] && test_json=true || test_json=false
for variant in ${variants:-echo monitor}; do
- for testcase in ${testcases:-testcases/*.t}; do
+ for testcase in ${testcases:-$(dirname $0)/testcases/*.t}; do
run_testcase "$testcase"
let "total_rc += $?"
done