tests: Tolerate different versions of tcpdump.
authorBen Pfaff <blp@nicira.com>
Thu, 27 Jan 2011 17:50:19 +0000 (09:50 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 27 Jan 2011 17:50:19 +0000 (09:50 -0800)
commit4a557a8e2dd0ab4d2a8fe7e0673177d682c6e9fd
treeb29ee17ee34f0f27a14a7f2d4d4829cb8f897bee
parentae1b9e7d2c6d447f912b7cfbfbf33067419bc156
tests: Tolerate different versions of tcpdump.

The tcpdump output format differs slightly from one version to another, so
this test that runs tcpdump would fail depending on the system it was run
on.  This commit fixes the problem by using "sed" to trim off the part of
the line that can differ.

Reported-by: Justin Pettit <jpettit@nicira.com>
tests/ofp-print.at