summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util/tests/asn1_tests.c35
-rw-r--r--source4/torture/local/config.mk1
-rw-r--r--source4/torture/local/local.c1
3 files changed, 37 insertions, 0 deletions
diff --git a/lib/util/tests/asn1_tests.c b/lib/util/tests/asn1_tests.c
new file mode 100644
index 0000000000..6ad321b815
--- /dev/null
+++ b/lib/util/tests/asn1_tests.c
@@ -0,0 +1,35 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ util_asn1 testing
+
+ Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "includes.h"
+#include "torture/torture.h"
+#include "../asn1.h"
+
+
+
+/* LOCAL-ASN1 test suite creation */
+struct torture_suite *torture_local_util_asn1(TALLOC_CTX *mem_ctx)
+{
+ struct torture_suite *suite = torture_suite_create(mem_ctx, "ASN1");
+
+
+ return suite;
+}
diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk
index 1c3a721ac9..7633d6c4db 100644
--- a/source4/torture/local/config.mk
+++ b/source4/torture/local/config.mk
@@ -41,6 +41,7 @@ TORTURE_LOCAL_OBJ_FILES = \
$(torturesrcdir)/../../lib/util/tests/parmlist.o \
$(torturesrcdir)/../../lib/util/tests/str.o \
$(torturesrcdir)/../../lib/util/tests/time.o \
+ $(torturesrcdir)/../../lib/util/tests/asn1_tests.o \
$(torturesrcdir)/../../lib/util/tests/data_blob.o \
$(torturesrcdir)/../../lib/util/tests/file.o \
$(torturesrcdir)/../../lib/util/tests/genrand.o \
diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c
index 4180d308da..8c6fd5e10c 100644
--- a/source4/torture/local/local.c
+++ b/source4/torture/local/local.c
@@ -39,6 +39,7 @@
torture_local_util_str,
torture_local_util_time,
torture_local_util_data_blob,
+ torture_local_util_asn1,
torture_local_idtree,
torture_local_genrand,
torture_local_iconv,