diff options
author | Torsten Grote <t@grobox.de> | 2020-05-07 15:33:43 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-05-07 15:33:43 -0300 |
commit | 38601a1c63840bc85eae166f771a974e0629db28 (patch) | |
tree | 1cba1f2300e4b752ffd8726d9d4b3bf1cd0d61ea /integrationtests/test-double-link.sh | |
parent | b7c75bd56a484efcf77210f1541cda67e2a90f61 (diff) |
Add test for double spending (still fails as expected)
Diffstat (limited to 'integrationtests/test-double-link.sh')
-rwxr-xr-x | integrationtests/test-double-link.sh | 5 |
1 files changed, 1 insertions, 4 deletions
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 |