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