summaryrefslogtreecommitdiffstats
path: root/tests/osmo-auc-gen
diff options
context:
space:
mode:
Diffstat (limited to 'tests/osmo-auc-gen')
-rwxr-xr-xtests/osmo-auc-gen/osmo-auc-gen_test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/osmo-auc-gen/osmo-auc-gen_test.sh b/tests/osmo-auc-gen/osmo-auc-gen_test.sh
index 7842638a..132d9c39 100755
--- a/tests/osmo-auc-gen/osmo-auc-gen_test.sh
+++ b/tests/osmo-auc-gen/osmo-auc-gen_test.sh
@@ -1,6 +1,12 @@
#!/bin/sh
osmo_auc_gen="$1"
+if [ -z "$osmo_auc_gen" ]; then
+ echo 'Error: pass a path to the osmo-auc-gen binary as argument:'
+ echo ' ./osmo-auc-gen_test.sh /path/to/osmo-auc-gen'
+ exit 1
+fi
+
set -e
# run the osmo-auc-gen binary verbosely without showing its absolute path