summaryrefslogtreecommitdiff
path: root/source4/pidl/tests/ndr_fullptr.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-21 14:51:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-21 14:51:13 +0200
commit5209a846a9157e649fcdcb561f7eaf19c8c0e465 (patch)
treeb0a7e52b5646c8eec182dbc391e7934b6804488c /source4/pidl/tests/ndr_fullptr.pl
parent625359b2e266105022309df8985720108ecd6f67 (diff)
parent2ee8d29d22bcb1c350ab59d71b0aee548489bc9c (diff)
downloadsamba-5209a846a9157e649fcdcb561f7eaf19c8c0e465.tar.gz
samba-5209a846a9157e649fcdcb561f7eaf19c8c0e465.tar.bz2
samba-5209a846a9157e649fcdcb561f7eaf19c8c0e465.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c
Diffstat (limited to 'source4/pidl/tests/ndr_fullptr.pl')
-rwxr-xr-xsource4/pidl/tests/ndr_fullptr.pl44
1 files changed, 0 insertions, 44 deletions
diff --git a/source4/pidl/tests/ndr_fullptr.pl b/source4/pidl/tests/ndr_fullptr.pl
deleted file mode 100755
index cc6fca7ab3..0000000000
--- a/source4/pidl/tests/ndr_fullptr.pl
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/perl
-# Simple tests for unique pointers
-# (C) 2006 Jelmer Vernooij <jelmer@samba.org>.
-# Published under the GNU General Public License.
-use strict;
-
-use Test::More tests => 1 * 8;
-use FindBin qw($RealBin);
-use lib "$RealBin";
-use Util qw(test_samba4_ndr);
-
-SKIP: {
- skip "full pointers not supported yet", 8;
-
-test_samba4_ndr("fullptr-push-dup",
-'
- [public] uint16 echo_TestFull([in,ptr] uint32 *x, [in,ptr] uint32 *y);
-',
-'
- struct ndr_push *ndr = ndr_push_init_ctx(NULL, NULL);
- uint32_t v = 13;
- struct echo_TestFull r;
- r.in.x = &v;
- r.in.y = &v;
-
- if (!NDR_ERR_CODE_IS_SUCCESS(ndr_push_echo_TestFull(ndr, NDR_IN, &r))) {
- fprintf(stderr, "push failed\n");
- return 1;
- }
-
- if (ndr->offset != 12) {
- fprintf(stderr, "Offset(%d) != 12\n", ndr->offset);
- return 2;
- }
-
- if (ndr->data[0] != ndr->data[8] ||
- ndr->data[1] != ndr->data[9] ||
- ndr->data[2] != ndr->data[10] ||
- ndr->data[3] != ndr->data[11]) {
- fprintf(stderr, "Data incorrect\n");
- return 3;
- }
-');
-}