1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4/asn1: Added torture suite for ASN1

This commit is contained in:
Kamen Mazdrashki 2009-09-25 23:43:56 +03:00 committed by Matthias Dieter Wallnöfer
parent 8330d78b21
commit bd5343924f
3 changed files with 37 additions and 0 deletions

View File

@ -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;
}

View 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 \

View 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,