diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-13 02:28:41 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-13 02:28:41 +0100 |
commit | 23582ce0f429a6396fb89d29156ee955ff8e0228 (patch) | |
tree | e8cac7d925309bd3765e3c673154763d1e3dd0e1 /source4/pidl/tests | |
parent | d4006e799ac1305092c2d292c9237f58938268a2 (diff) | |
download | samba-23582ce0f429a6396fb89d29156ee955ff8e0228.tar.gz samba-23582ce0f429a6396fb89d29156ee955ff8e0228.tar.bz2 samba-23582ce0f429a6396fb89d29156ee955ff8e0228.zip |
Add simple test for ETT_FIELD.
(This used to be commit aea50426366dbe971d25d2a948db57885ce224b9)
Diffstat (limited to 'source4/pidl/tests')
-rwxr-xr-x | source4/pidl/tests/wireshark-conf.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/pidl/tests/wireshark-conf.pl b/source4/pidl/tests/wireshark-conf.pl index d6fe3158aa..c06ac16de4 100755 --- a/source4/pidl/tests/wireshark-conf.pl +++ b/source4/pidl/tests/wireshark-conf.pl @@ -5,7 +5,7 @@ use strict; use warnings; -use Test::More tests => 47; +use Test::More tests => 48; use FindBin qw($RealBin); use lib "$RealBin"; use Util; @@ -164,6 +164,9 @@ test_errors("nofile:1: no dissectorname specified\n", test_errors("nofile:1: incomplete HF_FIELD command\n", sub { parse_conf("HF_FIELD hf_idx\n"); }); +test_errors("nofile:1: incomplete ETT_FIELD command\n", + sub { parse_conf("ETT_FIELD\n"); }); + is_deeply(parse_conf("TYPE winreg_String dissect_myminregstring(); FT_STRING BASE_DEC 0 0 0 2\n"), { types => { winreg_String => { |