Rev 11597: Fix pidl test. in
file:///home/jelmer/bzr.samba/SAMBA_4_0/
Jelmer Vernooij
jelmer at samba.org
Mon Feb 26 17:40:32 GMT 2007
At file:///home/jelmer/bzr.samba/SAMBA_4_0/
------------------------------------------------------------
revno: 11597
revision-id: jelmer at samba.org-20070226174019-kgi3y7tzvwo4j05f
parent: svn-v2:21544 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Mon 2007-02-26 18:40:19 +0100
message:
Fix pidl test.
modified:
source/pidl/tests/wireshark-ndr.pl svn-v2:21411 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fpidl%2ftests%2fwireshark%2dndr.pl
=== modified file 'source/pidl/tests/wireshark-ndr.pl'
--- a/source/pidl/tests/wireshark-ndr.pl 2007-02-26 01:03:19 +0000
+++ b/source/pidl/tests/wireshark-ndr.pl 2007-02-26 17:40:19 +0000
@@ -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 @@
%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" }}})});
More information about the samba-cvs
mailing list