diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-03-04 22:36:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:12 -0500 |
commit | 90f23f0de86bb63ad65556ff2dab8b066236f300 (patch) | |
tree | bcfc0a18cd5f1ca10b307558ff888a5773da86e3 /source/lib/compression | |
parent | e830b815962da575aea9f9dc6bfee8eda8ec43c9 (diff) | |
download | samba-90f23f0de86bb63ad65556ff2dab8b066236f300.tar.gz |
r21688: Add simple tests for genrand
Diffstat (limited to 'source/lib/compression')
-rw-r--r-- | source/lib/compression/testsuite.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source/lib/compression/testsuite.c b/source/lib/compression/testsuite.c new file mode 100644 index 00000000000..eb00d096fdb --- /dev/null +++ b/source/lib/compression/testsuite.c @@ -0,0 +1,33 @@ +/* + Unix SMB/CIFS implementation. + test suite for the compression functions + + Copyright (C) Jelmer Vernooij 2007 + + 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 2 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, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#include "includes.h" +#include "torture/torture.h" +#include "lib/compression/mszip.h" + +struct torture_suite *torture_local_compression(TALLOC_CTX *mem_ctx) +{ + struct torture_suite *suite = torture_suite_create(mem_ctx, "COMPRESSION"); + + torture_suite_add_simple_test(suite, "pull_charset", test_pull_charset); + + return suite; +} |