diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-16 14:54:29 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-01-16 15:08:00 +0100 |
commit | 39cc507d1b7b0454d8f380fc3127fa966a0f972c (patch) | |
tree | a593564582d6a6056b7e3b6516359e20b3800641 /source4/pidl | |
parent | ad5bb10f707dddc0cea159af09393520128157d7 (diff) | |
download | samba-39cc507d1b7b0454d8f380fc3127fa966a0f972c.tar.gz samba-39cc507d1b7b0454d8f380fc3127fa966a0f972c.tar.bz2 samba-39cc507d1b7b0454d8f380fc3127fa966a0f972c.zip |
pidl: Fix imported function for ServerNDR and add test to make sure it doesn't regress again.
(This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)
Diffstat (limited to 'source4/pidl')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 2 | ||||
-rw-r--r-- | source4/pidl/tests/samba3-srv.pl | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index 47312bc83d..ecc43ab896 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -12,7 +12,7 @@ use Parse::Pidl::Typelist qw(mapTypeName scalar_is_reference); use Parse::Pidl::Util qw(ParseExpr has_property is_constant); use Parse::Pidl::NDR qw(GetNextLevel); use Parse::Pidl::Samba4 qw(ElementStars DeclLong); -use Parse::Pidl::Samba4::NDR::Parser qw(GenerateFunctionOutEnv); +use Parse::Pidl::Samba4::Header qw(GenerateFunctionOutEnv); use vars qw($VERSION); $VERSION = '0.01'; diff --git a/source4/pidl/tests/samba3-srv.pl b/source4/pidl/tests/samba3-srv.pl new file mode 100644 index 0000000000..dc96518fd0 --- /dev/null +++ b/source4/pidl/tests/samba3-srv.pl @@ -0,0 +1,14 @@ +#!/usr/bin/perl +# (C) 2008 Jelmer Vernooij <jelmer@samba.org> +# Published under the GNU General Public License +use strict; +use warnings; + +use Test::More tests => 0; +use FindBin qw($RealBin); +use lib "$RealBin"; +use Util; +use Parse::Pidl::Util qw(MyDumper); +use Parse::Pidl::Samba3::ServerNDR; + + |