From bb1c56eeb3d3ed15a229903d30e664e7441b91dd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 Dec 2023 23:42:54 +0800 Subject: check for wallet-cli tools before using them in tests --- src/testing/test-merchant-walletharness.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/testing/test-merchant-walletharness.sh') diff --git a/src/testing/test-merchant-walletharness.sh b/src/testing/test-merchant-walletharness.sh index 4c5a31d5..fe63f3fa 100755 --- a/src/testing/test-merchant-walletharness.sh +++ b/src/testing/test-merchant-walletharness.sh @@ -25,11 +25,7 @@ set -eu unset XDG_DATA_HOME unset XDG_CONFIG_HOME -# Exit, with status code "skip" (no 'real' failure) -function exit_skip() { - echo $1 - exit 77 -} +. setup.sh # If CLI is installed, assume all the suite is. echo -n "Testing for libeufin(-cli)" @@ -40,6 +36,7 @@ echo -n "Testing for taler-harness" taler-harness --help >/dev/null /dev/null || res=$? -- cgit v1.2.3