aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test-merchant-walletharness.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-24 14:14:19 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-24 14:14:19 +0200
commita6c9e653f0d46b0d0c3acc39e16cc35f2dd627cf (patch)
tree8a76e00002ef178a7148ca390d80a0d116a69b49 /src/testing/test-merchant-walletharness.sh
parent56cd517c38ff8433078b04f4ec63dd7458bbf7bc (diff)
also test for taler-bank-manage in walletharness test
Diffstat (limited to 'src/testing/test-merchant-walletharness.sh')
-rwxr-xr-xsrc/testing/test-merchant-walletharness.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/testing/test-merchant-walletharness.sh b/src/testing/test-merchant-walletharness.sh
index 98a78efa..75f979eb 100755
--- a/src/testing/test-merchant-walletharness.sh
+++ b/src/testing/test-merchant-walletharness.sh
@@ -22,6 +22,20 @@
set -eu
+# Exit, with status code "skip" (no 'real' failure)
+function exit_skip() {
+ echo $1
+ exit 77
+}
+
+echo -n "Testing for taler-bank-manage"
+taler-bank-manage --help >/dev/null </dev/null || exit_skip " MISSING"
+echo " FOUND"
+
+echo -n "Testing for taler-wallet-cli"
+taler-wallet-cli --help >/dev/null </dev/null || exit_skip " MISSING"
+echo " FOUND"
+
res=0
taler-wallet-cli testing run-integrationtests --dry --suites merchant 2&>/dev/null || res=$?