]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add edit-unittests
authorEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 14:48:24 +0000 (15:48 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 14:48:24 +0000 (15:48 +0100)
regress/tests/edit-unittests [new file with mode: 0755]

diff --git a/regress/tests/edit-unittests b/regress/tests/edit-unittests
new file mode 100755 (executable)
index 0000000..15809ef
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+# This is an alist unit test
+#
+
+TestName="edit_test"
+. scripts/functions
+make -C $src/src/lib $TestName
+
+$bin/$TestName
+exit $?
+