aboutsummaryrefslogtreecommitdiff
path: root/contrib/taler-bank-manage-testing
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 /contrib/taler-bank-manage-testing
parent2590db50d59602980a09d48280f69e1662eb3168 (diff)
extra checks, add to build system
Diffstat (limited to 'contrib/taler-bank-manage-testing')
-rwxr-xr-xcontrib/taler-bank-manage-testing6
1 files changed, 6 insertions, 0 deletions
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