2 # Some simple tests for pidl
3 # (C) 2005 Jelmer Vernooij <jelmer@samba.org>
4 # Published under the GNU General Public License
8 use Test
::More tests
=> 8;
9 use FindBin
qw($RealBin);
11 use Util qw(test_samba4_ndr);
13 test_samba4_ndr
("simple", "void Test(); ",
15 uint8_t data[] = { 0x02 };
22 ndr = ndr_pull_init_blob(&b, mem_ctx, NULL);
24 if (!NDR_ERR_CODE_IS_SUCCESS(ndr_pull_uint8(ndr, NDR_SCALARS, &result)))