aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/test-kyc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/test-kyc.sh')
-rwxr-xr-xsrc/auditor/test-kyc.sh38
1 files changed, 23 insertions, 15 deletions
diff --git a/src/auditor/test-kyc.sh b/src/auditor/test-kyc.sh
index b984dd881..b20e55665 100755
--- a/src/auditor/test-kyc.sh
+++ b/src/auditor/test-kyc.sh
@@ -376,27 +376,35 @@ function run_audit () {
export LIBEUFIN_NEXUS_USERNAME="exchange"
export LIBEUFIN_NEXUS_PASSWORD="x"
export LIBEUFIN_NEXUS_URL="http://localhost:8082/"
- PAIN_UUID=$(libeufin-cli accounts list-payments exchange-nexus | jq .initiatedPayments[] | jq 'select(.submitted==false)' | jq -r .paymentInitiationId)
+ echo "broken"
+ exit 1
+# PAIN_UUID=$(libeufin-cli accounts list-payments exchange-nexus | jq .initiatedPayments[] | jq 'select(.submitted==false)' | jq -r .paymentInitiationId)
if test -z "${PAIN_UUID}"
then
echo -n "Payment likely already submitted, running submit-payments without UUID anyway ..."
- libeufin-cli accounts \
- submit-payments \
- exchange-nexus
+ echo "broken"
+ exit 1
+# libeufin-cli accounts \
+# submit-payments \
+# exchange-nexus
else
echo -n "Running payment submission for transaction ${PAIN_UUID} ..."
- libeufin-cli accounts \
- submit-payments \
- --payment-uuid "${PAIN_UUID}" \
- exchange-nexus
+ echo "broken"
+ exit 1
+# libeufin-cli accounts \
+# submit-payments \
+# --payment-uuid "${PAIN_UUID}" \
+# exchange-nexus
fi
echo " DONE"
echo -n "Import outgoing transactions..."
- libeufin-cli accounts \
- fetch-transactions \
- --range-type since-last \
- --level report \
- exchange-nexus
+ echo "broken"
+ exit 1
+# libeufin-cli accounts \
+# fetch-transactions \
+# --range-type since-last \
+# --level report \
+# exchange-nexus
echo " DONE"
fi
audit_only
@@ -702,8 +710,8 @@ jq -h > /dev/null || exit_skip "jq required"
echo "Testing for faketime"
faketime -h > /dev/null || exit_skip "faketime required"
# NOTE: really check for all three libeufin commands?
-echo "Testing for libeufin"
-libeufin-cli --help >/dev/null 2> /dev/null </dev/null || exit_skip "libeufin required"
+echo "Testing for libeufin-bank"
+libeufin-bank --help >/dev/null 2> /dev/null </dev/null || exit_skip "libeufin-bank required"
echo "Testing for pdflatex"
which pdflatex > /dev/null </dev/null || exit_skip "pdflatex required"
echo "Testing for taler-wallet-cli"