aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_idempotency.sh
blob: 66f712c1cb4172637ccd315425acdd6bfb2a1d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# This file is in the public domain.
set -eu
echo "Initializing DB"
taler-exchange-dbinit -r -c test-exchange-db-postgres.conf
echo "Re-initializing DB"
taler-exchange-dbinit -c test-exchange-db-postgres.conf
echo "Re-loading procedures"
psql talercheck < procedures.sql
echo "Test PASSED"
exit 0