summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2021-11-25 15:04:03 +0100
committerJule Anger <janger@samba.org>2022-01-31 12:23:51 +0100
commit4533a7b4319cd95815d2dcd5fe5075539fb850e5 (patch)
treefdc137b7a78be43549b0cf84bf94e98edb17ca20 /selftest
parentb4c0b4620f12055207adb0519c8d91c3021f354a (diff)
downloadsamba-4533a7b4319cd95815d2dcd5fe5075539fb850e5.tar.gz
CVE-2021-44142: libadouble: add basic cmocka tests
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> [slow@samba.org: conflict due to missing test in selftest/tests.py]
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/samba.unittests.adouble3
-rw-r--r--selftest/tests.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/selftest/knownfail.d/samba.unittests.adouble b/selftest/knownfail.d/samba.unittests.adouble
new file mode 100644
index 00000000000..8b0314f2fae
--- /dev/null
+++ b/selftest/knownfail.d/samba.unittests.adouble
@@ -0,0 +1,3 @@
+^samba.unittests.adouble.parse_abouble_finderinfo2\(none\)
+^samba.unittests.adouble.parse_abouble_finderinfo3\(none\)
+^samba.unittests.adouble.parse_abouble_date2\(none\)
diff --git a/selftest/tests.py b/selftest/tests.py
index e7338985caf..c87b41c1a66 100644
--- a/selftest/tests.py
+++ b/selftest/tests.py
@@ -434,3 +434,5 @@ if with_elasticsearch_backend:
[os.path.join(bindir(), "default/source3/test_mdsparser_es")] + [configuration])
plantestsuite("samba.unittests.credentials", "none",
[os.path.join(bindir(), "default/auth/credentials/test_creds")])
+plantestsuite("samba.unittests.adouble", "none",
+ [os.path.join(bindir(), "test_adouble")])