From 38601a1c63840bc85eae166f771a974e0629db28 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 7 May 2020 15:33:43 -0300 Subject: Add test for double spending (still fails as expected) --- integrationtests/test-double-link.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'integrationtests/test-double-link.sh') diff --git a/integrationtests/test-double-link.sh b/integrationtests/test-double-link.sh index 75de484c3..5522b94e7 100755 --- a/integrationtests/test-double-link.sh +++ b/integrationtests/test-double-link.sh @@ -7,8 +7,6 @@ setup_services launch_services wait_for_services -WALLET_DB=wallet-double-link.json - echo "Getting pay taler:// Uri" PAY_URI=$(taler-wallet-cli testing gen-pay-uri -m "$MERCHANT_URL" -k sandbox -a "TESTKUDOS:1" -s "foo" | grep -E -o 'taler://.*') echo "Trying to pay without balance" @@ -21,6 +19,5 @@ echo "Trying to pay what was paid already should throw error" taler-wallet-cli --wallet-db=$WALLET_DB --no-throttle handle-uri --yes "$PAY_URI" 2>&1 | grep -q "already paid" || exit_error "not reporting already paid" echo "Already paid properly detected" -rm $WALLET_DB || true - +echo "SUCCESS" exit 0 -- cgit v1.2.3