]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
cloud: create a multitest for CDash invocation
authornorbert.bizet <norbert.bizet@baculasystems.com>
Thu, 18 Jan 2024 09:32:14 +0000 (04:32 -0500)
committerEric Bollengier <eric@baculasystems.com>
Tue, 13 Feb 2024 09:36:03 +0000 (10:36 +0100)
regress/tests/cloud-CDash-multitest [new file with mode: 0755]

diff --git a/regress/tests/cloud-CDash-multitest b/regress/tests/cloud-CDash-multitest
new file mode 100755 (executable)
index 0000000..301903d
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Copyright (C) 2000-2021 Kern Sibbald
+# Copyright (C) 2021-2023 Bacula Systems SA
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+# Runs cloud-test on every cloud directive listed in cloud.conf
+
+sed -n -e '/  Name = /p' cloud.conf| sed 's/  Name =//' | xargs ./tests/multi-cloud cloud-test