diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-03-14 09:46:19 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-03-14 10:13:34 -0700 |
| commit | 6d38ac7cb9fc65ee94ebeb3e9cde11b27c2173bb (patch) | |
| tree | 30d4a416c71535f7550586451e9cf40d6d1decb9 /tests/ofp-print.at | |
| parent | 23e795f4dd9af5191773a5ee840642737a37e91d (diff) | |
| download | openvswitch-6d38ac7cb9fc65ee94ebeb3e9cde11b27c2173bb.tar.gz | |
ofp-print: Omit timestamp when printing packets in ofp_packet_to_string().
There's no value in the timestamp here, because it will always be the
same. Printing it just makes results less reproducible because output
then depends on the time zone.
This fixes a test failure in California due to yesterday's DST change,
and presumably a test failure almost everywhere else all the time.
Reported-by: Andrew Evans <aevans@nicira.com>
Diffstat (limited to 'tests/ofp-print.at')
| -rw-r--r-- | tests/ofp-print.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ofp-print.at b/tests/ofp-print.at index af5249bc6..d9ec6e881 100644 --- a/tests/ofp-print.at +++ b/tests/ofp-print.at @@ -230,7 +230,7 @@ dnl so trim off the end of the line where differences appear. AT_CHECK([sed 's/\(length 60:\).*/\1 .../' stdout], [0], [dnl OFPT_PACKET_IN (xid=0x0): total_len=60 in_port=3 data_len=60 buffer=0x00000111 tunnel0:in_port0003:tci(0) mac50:54:00:00:00:05->50:54:00:00:00:06 type0800 proto6 tos0 ip192.168.0.1->192.168.0.2 port10031->0 --8:00:00.000000 50:54:00:00:00:05 > 50:54:00:00:00:06, ethertype IPv4 (0x0800), length 60: ... +50:54:00:00:00:05 > 50:54:00:00:00:06, ethertype IPv4 (0x0800), length 60: ... ]) AT_CLEANUP |
