aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_order_autocleanup.sh
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-21 09:43:33 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-21 09:43:33 +0800
commit4f8d213a56eaff3d9841c73656faf669663564c9 (patch)
tree18c56cd332e9e391628159f9d256153a9ebf2326 /src/testing/test_merchant_order_autocleanup.sh
parente41f0babfc13a18c0dd3889a6801a3e7944925c5 (diff)
fix tests: check for libeufin-bank, not libeufin-cli
Diffstat (limited to 'src/testing/test_merchant_order_autocleanup.sh')
-rwxr-xr-xsrc/testing/test_merchant_order_autocleanup.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/testing/test_merchant_order_autocleanup.sh b/src/testing/test_merchant_order_autocleanup.sh
index 80fd611c..73dd4cad 100755
--- a/src/testing/test_merchant_order_autocleanup.sh
+++ b/src/testing/test_merchant_order_autocleanup.sh
@@ -3,6 +3,8 @@
set -eu
+. setup.sh
+
# Replace with 0 for nexus...
USE_FAKEBANK=1
@@ -17,14 +19,11 @@ else
WIRE_METHOD="iban"
BANK_FLAGS="-ns -d $WIRE_METHOD -u $ACCOUNT"
BANK_URL="http://localhost:18082/"
-fi
+ echo -n "Testing for libeufin-bank"
+ libeufin-bank --help >/dev/null </dev/null || exit_skip " MISSING"
+ echo " FOUND"
-. setup.sh
-
-# If CLI is installed, assume all the suite is.
-echo -n "Testing for libeufin(-cli)"
-libeufin-cli --help >/dev/null </dev/null || exit_skip " MISSING"
-echo " FOUND"
+fi
echo -n "Testing for taler-harness"
taler-harness --help >/dev/null </dev/null || exit_skip " MISSING"