Currently, TESTonce uses 'diff -w' so it ignores all white space.
We need a strict comparison, else there is no difference between, for example,
'Association Setup' and 'AssociationSetup' => removing the option '-w'
$options=$ARGV[3];
if ($^O eq 'MSWin32') {
$options=$ARGV[3];
if ($^O eq 'MSWin32') {
- $r = system "..\\windump -n -r $input $options 2>NUL | tee NEW/$output | diff -w $output - >DIFF/$output.diff";
+ $r = system "..\\windump -n -r $input $options 2>NUL | tee NEW/$output | diff $output - >DIFF/$output.diff";
- $r = system "../tcpdump 2>/dev/null -n -r $input $options | tee NEW/$output | diff -w $output - >DIFF/$output.diff";
+ $r = system "../tcpdump 2>/dev/null -n -r $input $options | tee NEW/$output | diff $output - >DIFF/$output.diff";
Oper TLV GetResp(0x9) length 296
PATH-DATA TLV, length 292 (data encapsulated 288 Bytes)
Pathdata: Flags 0x0 ID count 1
Oper TLV GetResp(0x9) length 296
PATH-DATA TLV, length 292 (data encapsulated 288 Bytes)
Pathdata: Flags 0x0 ID count 1
FULLDATA TLV (Length 280 DataLen 276 Bytes)
[
0x0000: 0000 0000 0000 0001 0000 0001 0000 0001
FULLDATA TLV (Length 280 DataLen 276 Bytes)
[
0x0000: 0000 0000 0000 0001 0000 0001 0000 0001
Oper TLV Get(0x7) length 16
PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
Pathdata: Flags 0x0 ID count 1
Oper TLV Get(0x7) length 16
PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
Pathdata: Flags 0x0 ID count 1
IP (tos 0x0, ttl 46, id 4, offset 0, flags [DF], proto SCTP (132), length 112)
IP (tos 0x0, ttl 46, id 4, offset 0, flags [DF], proto SCTP (132), length 112)
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV GetResp(0x9) length 296
PATH-DATA TLV, length 292 (data encapsulated 288 Bytes)
Pathdata: Flags 0x0 ID count 1
Oper TLV GetResp(0x9) length 296
PATH-DATA TLV, length 292 (data encapsulated 288 Bytes)
Pathdata: Flags 0x0 ID count 1
FULLDATA TLV (Length 280 DataLen 276 Bytes)
[
0x0000: 0000 0000 0000 0001 0000 0001 0000 0001
FULLDATA TLV (Length 280 DataLen 276 Bytes)
[
0x0000: 0000 0000 0000 0001 0000 0001 0000 0001
Oper TLV Get(0x7) length 16
PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
Pathdata: Flags 0x0 ID count 1
Oper TLV Get(0x7) length 16
PATH-DATA TLV, length 12 (data encapsulated 8 Bytes)
Pathdata: Flags 0x0 ID count 1
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
Oper TLV SetProp(0x2) length 28
PATH-DATA TLV, length 24 (data encapsulated 20 Bytes)
Pathdata: Flags 0x0 ID count 2
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
FULLDATA TLV (Length 8 DataLen 4 Bytes)
[
0x0000: 0000 0001
version 1.0, type STATS_REPLY, length 76, xid 0x0000001f
type TABLE, flags 0x0000
table_id 0, name 'classifier'
version 1.0, type STATS_REPLY, length 76, xid 0x0000001f
type TABLE, flags 0x0000
table_id 0, name 'classifier'
- wildcards 0x003fffff (IN_PORT, DL_VLAN, DL_SRC, DL_DST, DL_TYPE, NW_PROTO, TP_SRC, TP_DST, DL_VLAN_PCP, NW_TOS)
- max_entries 1000000, active_count 26, lookup_count 1158498983736653433, matched_count 1158498983736653433
+ wildcards 0x003fffff (IN_PORT, DL_VLAN, DL_SRC, DL_DST, DL_TYPE, NW_PROTO, TP_SRC, TP_DST, DL_VLAN_PCP, NW_TOS)
+ max_entries 1000000, active_count 26, lookup_count 1158498983736653433, matched_count 1158498983736653433
IP (tos 0x0, ttl 64, id 794, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.20.6633 > 10.0.0.50.35256: Flags [.], cksum 0x146c (incorrect -> 0x7eb8), seq 2237, ack 7057, win 203, options [nop,nop,TS val 220958721 ecr 194889063], length 0
IP (tos 0x0, ttl 64, id 55530, offset 0, flags [DF], proto TCP (6), length 2948)
IP (tos 0x0, ttl 64, id 794, offset 0, flags [DF], proto TCP (6), length 52)
10.0.0.20.6633 > 10.0.0.50.35256: Flags [.], cksum 0x146c (incorrect -> 0x7eb8), seq 2237, ack 7057, win 203, options [nop,nop,TS val 220958721 ecr 194889063], length 0
IP (tos 0x0, ttl 64, id 55530, offset 0, flags [DF], proto TCP (6), length 2948)