summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-09-12 13:34:33 +0200
committerChristian Grothoff <christian@grothoff.org>2022-09-12 13:34:33 +0200
commit0a618f77cd6d9dca248877e7f51409e8c420891a (patch)
tree67f0fb49babc6d7439d152ba8796ec4f46c6e072
parent05cf62b3973236c8646005e27a50cc27be559408 (diff)
downloadexchange-0a618f77cd6d9dca248877e7f51409e8c420891a.tar.gz
exchange-0a618f77cd6d9dca248877e7f51409e8c420891a.tar.bz2
exchange-0a618f77cd6d9dca248877e7f51409e8c420891a.zip
-add missing license headers
-rwxr-xr-xbootstrap1
-rwxr-xr-xcontrib/gana-update.sh2
-rwxr-xr-xsrc/auditor/test-auditor.sh16
-rwxr-xr-xsrc/auditor/test-revocation.sh19
-rwxr-xr-xsrc/auditor/test-sync.sh16
5 files changed, 52 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 65b71c7d8..67e246838 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,4 +1,5 @@
#!/bin/sh
+# This file is in the public domain.
set -eu
diff --git a/contrib/gana-update.sh b/contrib/gana-update.sh
index b20bbaa1d..4679e2003 100755
--- a/contrib/gana-update.sh
+++ b/contrib/gana-update.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# This file is in the public domain.
+#
# Helper script to recompute error codes based on submodule
# Run from exchange/ main directory.
set -eu
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 297225fec..89350cbec 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1,4 +1,20 @@
#!/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 perfectly normal
# exchange-wallet interaction and run the auditor against it.
#
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"
diff --git a/src/auditor/test-sync.sh b/src/auditor/test-sync.sh
index 0c9327d63..e3afeb709 100755
--- a/src/auditor/test-sync.sh
+++ b/src/auditor/test-sync.sh
@@ -1,5 +1,21 @@
#!/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>
+#
+
set -eu
# Exit, with status code "skip" (no 'real' failure)