]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add unittest for base32 encoding
authorEric Bollengier <eric@baculasystems.com>
Fri, 13 Aug 2021 08:17:19 +0000 (10:17 +0200)
committerEric Bollengier <eric@baculasystems.com>
Fri, 30 Jun 2023 16:33:45 +0000 (18:33 +0200)
regress/tests/base32-unittests [new file with mode: 0644]

diff --git a/regress/tests/base32-unittests b/regress/tests/base32-unittests
new file mode 100644 (file)
index 0000000..6849cda
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+# This is a base32 unit test
+#
+TestName="base32_test"
+. scripts/functions
+make -C $src/src/lib $TestName
+
+$bin/$TestName
+exit $?