summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-26 17:43:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:55 -0500
commit43679c82f4b6f16af2d8b6695499b03ed7555266 (patch)
tree4dc0f99fa76f2212cbab33638613cdb02b0b16ad
parente31197308cbdaac62a1f37da40ac245a829d523a (diff)
downloadsamba-43679c82f4b6f16af2d8b6695499b03ed7555266.tar.gz
samba-43679c82f4b6f16af2d8b6695499b03ed7555266.tar.bz2
samba-43679c82f4b6f16af2d8b6695499b03ed7555266.zip
r21545: Fix pidl test.
(This used to be commit ed0a7f5091d99a012e366ed3bc877b5228aa62a8)
-rwxr-xr-xsource4/pidl/tests/wireshark-ndr.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/pidl/tests/wireshark-ndr.pl b/source4/pidl/tests/wireshark-ndr.pl
index 02eabb8942..a216f59d97 100755
--- a/source4/pidl/tests/wireshark-ndr.pl
+++ b/source4/pidl/tests/wireshark-ndr.pl
@@ -5,7 +5,7 @@
use strict;
use warnings;
-use Test::More tests => 11;
+use Test::More tests => 13;
use FindBin qw($RealBin);
use lib "$RealBin";
use Util;
@@ -65,8 +65,8 @@ is_deeply($conformance, {
%hf_used = ( hf_bla => 1 );
test_warnings("", sub {
- CheckUsed({ header_fields => { INDEX => "hf_bla" }})});
+ CheckUsed({ header_fields => { foo => { INDEX => "hf_bla" }}})});
%hf_used = ( );
-test_warnings("nofile:0: hf field `hf_bla' not used\n", sub {
- CheckUsed({ header_fields => { INDEX => "hf_bla" }})});
+test_warnings("hf field `hf_bla' not used\n", sub {
+ CheckUsed({ header_fields => { foo => { INDEX => "hf_bla" }}})});