From b33260432540561e3bb6f78e5a37ec7e1dae9fd4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Feb 2020 22:37:49 +0100 Subject: [PATCH] extra checks, add to build system --- contrib/Makefile.am | 3 ++- contrib/taler-bank-manage-testing | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/contrib/Makefile.am b/contrib/Makefile.am index f9de7a75e..c38a1630f 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,7 +1,8 @@ SUBDIRS = . tos pp bin_SCRIPTS = \ - taler-bank-manage-testing + taler-bank-manage-testing \ + taler-exchange-revoke EXTRA_DIST = \ $(bin_SCRIPTS) \ diff --git a/contrib/taler-bank-manage-testing b/contrib/taler-bank-manage-testing index b7e356d44..29494e3ad 100755 --- a/contrib/taler-bank-manage-testing +++ b/contrib/taler-bank-manage-testing @@ -10,6 +10,12 @@ set -eu +if [ "$#" -ne 3 ]; +then + echo "illegal number of parameters" + exit 1 +fi + # Ensure starting accounts exist taler-bank-manage -c $1 --with-db $2 django provide_accounts taler-bank-manage -c $1 --with-db $2 django add_bank_account 42