do setup instance
This commit is contained in:
parent
d089c31e5e
commit
51fa812cf4
@ -61,6 +61,7 @@ echo " FOUND"
|
|||||||
|
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
|
|
||||||
DATA_DIR=`taler-config -f -c $CONF -s PATHS -o TALER_HOME`
|
DATA_DIR=`taler-config -f -c $CONF -s PATHS -o TALER_HOME`
|
||||||
rm -rf $DATA_DIR || true
|
rm -rf $DATA_DIR || true
|
||||||
|
|
||||||
@ -137,6 +138,12 @@ if [ 1 != $OK ]
|
|||||||
then
|
then
|
||||||
exit_skip "Failed to launch services"
|
exit_skip "Failed to launch services"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Setup merchant
|
||||||
|
|
||||||
|
curl -H "Content-Type: application/json" -X POST -d '{"payto_uris":["payto://x-taler-bank/localhost:8082/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/private/instances
|
||||||
|
|
||||||
|
|
||||||
echo " DONE"
|
echo " DONE"
|
||||||
|
|
||||||
# run wallet CLI
|
# run wallet CLI
|
||||||
|
@ -122,7 +122,6 @@ function post_audit () {
|
|||||||
taler-exchange-dbinit -g || exit_fail "exchange DB GC failed"
|
taler-exchange-dbinit -g || exit_fail "exchange DB GC failed"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
echo "DONE"
|
|
||||||
echo -n "TeXing ."
|
echo -n "TeXing ."
|
||||||
taler-helper-auditor-render.py test-audit-aggregation.json test-audit-coins.json test-audit-deposits.json test-audit-reserves.json test-audit-wire.json < ../../contrib/auditor-report.tex.j2 > test-report.tex || exit_fail "Renderer failed"
|
taler-helper-auditor-render.py test-audit-aggregation.json test-audit-coins.json test-audit-deposits.json test-audit-reserves.json test-audit-wire.json < ../../contrib/auditor-report.tex.j2 > test-report.tex || exit_fail "Renderer failed"
|
||||||
|
|
||||||
@ -1882,10 +1881,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# run tests with pre-build database, if one is available
|
# run tests with pre-build database, if one is available
|
||||||
if test -x auditor-basedb.mpub
|
if test -r auditor-basedb.mpub
|
||||||
then
|
then
|
||||||
check_with_database "auditor-basedb"
|
check_with_database "auditor-basedb"
|
||||||
else
|
else
|
||||||
|
echo "Lacking auditor-basedb.mpub, skipping test"
|
||||||
fail=77
|
fail=77
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -553,7 +553,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# run tests with pre-build database, if one is available
|
# run tests with pre-build database, if one is available
|
||||||
if test -x revoke-basedb.mpub
|
if test -r revoke-basedb.mpub
|
||||||
then
|
then
|
||||||
check_with_database "revoke-basedb"
|
check_with_database "revoke-basedb"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user