diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-09-12 13:34:33 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-09-12 13:34:33 +0200 |
commit | 0a618f77cd6d9dca248877e7f51409e8c420891a (patch) | |
tree | 67f0fb49babc6d7439d152ba8796ec4f46c6e072 /src/auditor/test-revocation.sh | |
parent | 05cf62b3973236c8646005e27a50cc27be559408 (diff) | |
download | exchange-0a618f77cd6d9dca248877e7f51409e8c420891a.tar.xz |
-add missing license headers
Diffstat (limited to 'src/auditor/test-revocation.sh')
-rwxr-xr-x | src/auditor/test-revocation.sh | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh index d9737ed53..f37a88385 100755 --- a/src/auditor/test-revocation.sh +++ b/src/auditor/test-revocation.sh @@ -1,4 +1,19 @@ #!/bin/bash +# +# This file is part of TALER +# Copyright (C) 2014-2021 Taler Systems SA +# +# TALER is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 3, or (at your option) any later version. +# +# TALER is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/license> +# # Setup database which was generated from a exchange-wallet interaction # with revocations and run the auditor against it. # @@ -226,7 +241,7 @@ function run_audit () { # Do a full reload of the (original) database -full_reload() +function full_reload() { echo -n "Doing full reload of the database... " dropdb $DB 2> /dev/null || true @@ -534,7 +549,7 @@ function test_4() { # Run all the tests against the database given in $1. # Sets $fail to 0 on success, non-zero on failure. -check_with_database() +function check_with_database() { BASEDB=$1 echo "Running test suite with database $BASEDB using configuration $CONF" |