summaryrefslogtreecommitdiff
path: root/source4/pidl/tests/ndr_array.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/tests/ndr_array.pl')
-rwxr-xr-xsource4/pidl/tests/ndr_array.pl14
1 files changed, 6 insertions, 8 deletions
diff --git a/source4/pidl/tests/ndr_array.pl b/source4/pidl/tests/ndr_array.pl
index ad313949c5..b28070536e 100755
--- a/source4/pidl/tests/ndr_array.pl
+++ b/source4/pidl/tests/ndr_array.pl
@@ -4,19 +4,17 @@
# Published under the GNU General Public License
use strict;
-use Test::Simple tests => 1;
+use Test::More tests => 8;
+use FindBin qw($RealBin);
+use lib "$RealBin/../lib";
+use lib "$RealBin";
+use Util qw(test_samba4_ndr);
-Parse::Pidl::Test::test_idl(
- # Name
+test_samba4_ndr(
'Fixed-Array',
- # Settings
- \%settings,
-
- # IDL
'[public] void Test([in] uint8 x[10]);',
- # C Test
'
uint8_t data[] = {1,2,3,4,5,6,7,8,9,10};
int i;