use current bank CLI and CFG options for auditor tests
This commit is contained in:
parent
9a3bdcf604
commit
4e93638683
@ -62,6 +62,7 @@ HTTP_PORT = 8082
|
|||||||
SUGGESTED_EXCHANGE = http://localhost:8081/
|
SUGGESTED_EXCHANGE = http://localhost:8081/
|
||||||
SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
|
SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
|
||||||
ALLOW_REGISTRATIONS = YES
|
ALLOW_REGISTRATIONS = YES
|
||||||
|
SERVE = http
|
||||||
|
|
||||||
[exchangedb]
|
[exchangedb]
|
||||||
AUDITOR_BASE_DIR = ${TALER_DATA_HOME}/auditors/
|
AUDITOR_BASE_DIR = ${TALER_DATA_HOME}/auditors/
|
||||||
|
@ -32,3 +32,4 @@ MAX_DEBT_BANK = TESTKUDOS:100000.0
|
|||||||
HTTP_PORT = 8082
|
HTTP_PORT = 8082
|
||||||
SUGGESTED_EXCHANGE = http://localhost:8081/
|
SUGGESTED_EXCHANGE = http://localhost:8081/
|
||||||
SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
|
SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
|
||||||
|
SERVE = http
|
||||||
|
@ -57,7 +57,7 @@ trap cleanup EXIT
|
|||||||
function pre_audit () {
|
function pre_audit () {
|
||||||
# Launch bank
|
# Launch bank
|
||||||
echo -n "Launching bank "
|
echo -n "Launching bank "
|
||||||
taler-bank-manage-testing $CONF postgres:///$DB serve-http 2>bank.err >bank.log &
|
taler-bank-manage-testing $CONF postgres:///$DB serve 2>bank.err >bank.log &
|
||||||
for n in `seq 1 80`
|
for n in `seq 1 80`
|
||||||
do
|
do
|
||||||
echo -n "."
|
echo -n "."
|
||||||
@ -370,7 +370,7 @@ echo -n "Testing inconsistency detection... "
|
|||||||
ROW=`jq .reserve_in_amount_inconsistencies[0].row < test-audit-wire.json`
|
ROW=`jq .reserve_in_amount_inconsistencies[0].row < test-audit-wire.json`
|
||||||
if test $ROW != 1
|
if test $ROW != 1
|
||||||
then
|
then
|
||||||
exit_fail "Row wrong"
|
exit_fail "Row $ROW is wrong"
|
||||||
fi
|
fi
|
||||||
WIRED=`jq -r .reserve_in_amount_inconsistencies[0].amount_wired < test-audit-wire.json`
|
WIRED=`jq -r .reserve_in_amount_inconsistencies[0].amount_wired < test-audit-wire.json`
|
||||||
if test $WIRED != "TESTKUDOS:10"
|
if test $WIRED != "TESTKUDOS:10"
|
||||||
|
@ -57,7 +57,7 @@ trap cleanup EXIT
|
|||||||
function pre_audit () {
|
function pre_audit () {
|
||||||
# Launch bank
|
# Launch bank
|
||||||
echo -n "Launching bank "
|
echo -n "Launching bank "
|
||||||
taler-bank-manage-testing $CONF postgres:///$DB serve-http 2>bank.err >bank.log &
|
taler-bank-manage-testing $CONF postgres:///$DB serve 2>bank.err >bank.log &
|
||||||
for n in `seq 1 80`
|
for n in `seq 1 80`
|
||||||
do
|
do
|
||||||
echo -n "."
|
echo -n "."
|
||||||
|
Loading…
Reference in New Issue
Block a user