]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add script for pluginlib unittest
authorEric Bollengier <eric@baculasystems.com>
Wed, 9 Feb 2022 09:50:07 +0000 (10:50 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
regress/tests/pluginlib-unittest [new file with mode: 0755]

diff --git a/regress/tests/pluginlib-unittest b/regress/tests/pluginlib-unittest
new file mode 100755 (executable)
index 0000000..30d52a7
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# Copyright (C) 2000-2021 Kern Sibbald
+# Copyright (C) 2021-2022 Bacula Systems SA
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+# This is the pluginlib unit test
+#
+
+TestName="pluginlib-unittest"
+. scripts/functions
+make -C $src/src/plugins/fd/pluginlib pluginlib_test
+
+$src/src/plugins/fd/pluginlib/pluginlib_test
+exit $?
+