From 31fac9d66b0cba7a00b0887715cf7b7104108180 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 2 Feb 2008 10:18:33 +0100 Subject: pidl: remove 'pointer_default_top()' support metze (This used to be commit 145d6c8ea0eafc69cdeca45fbf296148b890133d) --- source4/pidl/tests/ndr_compat.pl | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/pidl/tests/ndr_compat.pl') diff --git a/source4/pidl/tests/ndr_compat.pl b/source4/pidl/tests/ndr_compat.pl index 735d929e27..11b585c118 100755 --- a/source4/pidl/tests/ndr_compat.pl +++ b/source4/pidl/tests/ndr_compat.pl @@ -19,9 +19,3 @@ sub parse_idl($) test_warnings("", sub {parse_idl("void x();"); }); test_warnings("nofile:0: top-level [out] pointer `x' is not a [ref] pointer\n", sub {parse_idl("void x([out,unique] int *x);"); }); - -test_warnings("nofile:0: pointer_default_top() is a pidl extension and should not be used\n", sub { - my $pidl = Parse::Pidl::IDL::parse_string("[pointer_default_top(unique)] interface echo { void x(); }; ", "nofile"); - Parse::Pidl::NDR::Parse($pidl); -}); - -- cgit From d696a5045240447f5618ecda6cf4a408f709fed2 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 9 Feb 2008 16:25:34 +0100 Subject: Fix test count after pointer_default_top() removal. (This used to be commit 9a4b9facc869a8f7363932a591437251b44cd7bb) --- source4/pidl/tests/ndr_compat.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/pidl/tests/ndr_compat.pl') diff --git a/source4/pidl/tests/ndr_compat.pl b/source4/pidl/tests/ndr_compat.pl index 11b585c118..355e7f6732 100755 --- a/source4/pidl/tests/ndr_compat.pl +++ b/source4/pidl/tests/ndr_compat.pl @@ -3,7 +3,7 @@ # Published under the GNU General Public License use strict; -use Test::More tests => 3; +use Test::More tests => 2; use FindBin qw($RealBin); use lib "$RealBin"; use Util; -- cgit