summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/ais_check3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/ais_check b/cpp/src/tests/ais_check
index e2d53b5870..d76841eb1d 100755
--- a/cpp/src/tests/ais_check
+++ b/cpp/src/tests/ais_check
@@ -1,4 +1,5 @@
#!/bin/sh
+srcdir=`dirname $0`
# Check AIS requirements tests if found.
id -nG | grep '\<ais\>' >/dev/null || \
@@ -31,6 +32,6 @@ with_ais_group() {
# Run the tests
srcdir=`dirname $0`
-with_ais_group ./cluster_test || ERROR=1
+with_ais_group $srcdir/run_test ./cluster_test || ERROR=1
exit $ERROR