s4/asn1: Added torture suite for ASN1
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Fri, 25 Sep 2009 20:43:56 +0000 (23:43 +0300)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Thu, 1 Oct 2009 21:12:59 +0000 (23:12 +0200)
lib/util/tests/asn1_tests.c [new file with mode: 0644]
source4/torture/local/config.mk
source4/torture/local/local.c

diff --git a/lib/util/tests/asn1_tests.c b/lib/util/tests/asn1_tests.c
new file mode 100644 (file)
index 0000000..6ad321b
--- /dev/null
@@ -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;
+}
index 1c3a721ac94e2b8b38422b5431920c5a32d7bee4..7633d6c4dbd65050731363749ffaca73f9644b2e 100644 (file)
@@ -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 \
index 4180d308da1cf0da05e72343012aebf1cd5a85ba..8c6fd5e10c926112b9fb63c99323789c9119e469 100644 (file)
@@ -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,