exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

test_idempotency.sh (346B)


      1 #!/bin/sh
      2 # This file is in the public domain.
      3 set -eu
      4 psql talercheck < /dev/null || exit 77
      5 echo "Initializing DB"
      6 taler-exchange-dbinit -r -c test-exchange-db-postgres.conf
      7 echo "Re-initializing DB"
      8 taler-exchange-dbinit -c test-exchange-db-postgres.conf
      9 echo "Re-loading procedures"
     10 psql talercheck < procedures.sql
     11 echo "Test PASSED"
     12 exit 0