summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-04 22:37:49 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-04 22:37:49 +0100
commitb33260432540561e3bb6f78e5a37ec7e1dae9fd4 (patch)
treeaefe753ac9ea2e07a9b7f9f6fb39964a2bf10b7c
parent2590db50d59602980a09d48280f69e1662eb3168 (diff)
downloadexchange-b33260432540561e3bb6f78e5a37ec7e1dae9fd4.tar.gz
exchange-b33260432540561e3bb6f78e5a37ec7e1dae9fd4.tar.bz2
exchange-b33260432540561e3bb6f78e5a37ec7e1dae9fd4.zip
extra checks, add to build system
-rw-r--r--contrib/Makefile.am3
-rwxr-xr-xcontrib/taler-bank-manage-testing6
2 files changed, 8 insertions, 1 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index f9de7a75..c38a1630 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 b7e356d4..29494e3a 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