]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add ilist-unittests
authorEric Bollengier <eric@baculasystems.com>
Fri, 5 Feb 2021 12:16:43 +0000 (13:16 +0100)
committerEric Bollengier <eric@baculasystems.com>
Fri, 5 Feb 2021 21:23:44 +0000 (22:23 +0100)
regress/tests/alist-unittests
regress/tests/ilist-unittests [new file with mode: 0755]

index 2db22b70a2435074b5a50f7b6689e27d10db8b3f..0ae772e907ca1f110561b7fc3c8947ec9ea646d8 100755 (executable)
@@ -3,9 +3,6 @@
 # Copyright (C) 2000-2015 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
-# Copyright (c) 2018 by Inteos sp. z o.o.
-# All rights reserved. IP transfered to Bacula Systems according to agreement.
-#
 # This is an alist unit test
 #
 . scripts/regress-utils.sh
diff --git a/regress/tests/ilist-unittests b/regress/tests/ilist-unittests
new file mode 100755 (executable)
index 0000000..0c44206
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+# This is an ilist unit test
+#
+TestName="ilist_test"
+. scripts/functions
+make -C $src/src/lib $TestName
+
+$bin/$TestName
+exit $?