Rev 11389: remove failing test for now. in
file:///home/jelmer/bzr.samba/SAMBA_4_0/
Jelmer Vernooij
jelmer at samba.org
Wed Feb 7 18:38:38 GMT 2007
At file:///home/jelmer/bzr.samba/SAMBA_4_0/
------------------------------------------------------------
revno: 11389
revision-id: jelmer at samba.org-20070207183803-q3rfsaazmbm1d4y3
parent: jelmer at samba.org-20070207180039-hja2hpupldby94ku
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Wed 2007-02-07 19:38:03 +0100
message:
remove failing test for now.
modified:
source/pidl/tests/ndr_represent.pl svn-v2:14687 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fpidl%2ftests%2fndr_represent.pl
=== modified file 'source/pidl/tests/ndr_represent.pl'
--- a/source/pidl/tests/ndr_represent.pl 2007-02-07 17:57:47 +0000
+++ b/source/pidl/tests/ndr_represent.pl 2007-02-07 18:38:03 +0000
@@ -3,7 +3,7 @@
# (C) 2006 Jelmer Vernooij. Published under the GNU GPL
use strict;
-use Test::More tests => 3 * 8;
+use Test::More tests => 2 * 8;
use FindBin qw($RealBin);
use lib "$RealBin";
use Util qw(test_samba4_ndr);
@@ -74,41 +74,3 @@
'
);
-test_samba4_ndr('represent_as-custom-type',
-'
- void bla([in,represent_as(mytype)] uint8 x);
-',
-'
- uint8_t expected[] = { 0x0D };
- DATA_BLOB in_blob = { expected, 1 };
- struct ndr_pull *ndr = ndr_pull_init_blob(&in_blob, NULL);
- struct bla r;
-
- if (NT_STATUS_IS_ERR(ndr_pull_bla(ndr, NDR_SCALARS|NDR_BUFFERS, &r)))
- return 1;
-
- if (r.in.x.header != 42)
- return 2;
-
- if (r.in.x.data != 13)
- return 3;
-',
-'
-#include <libcli/util/nterr.h>
-
-NTSTATUS ndr_uint8_to_mytype(uint8_t from, struct mytype *to)
-{
- to->header = 42;
- to->data = from;
- return NT_STATUS_OK;
-}
-
-NTSTATUS ndr_uint32_to_uint8(struct mytype from, uint8_t *to)
-{
- *to = from->data;
- return NT_STATUS_OK;
-}
-'
-);
-
-
More information about the samba-cvs
mailing list