From: Ben Pfaff Date: Thu, 26 Apr 2012 17:57:14 +0000 (-0700) Subject: tests: Fix mirroring tests on big-endian architectures. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f79982ba930364f2d3935196dc13b422ba711ef2;hp=3ec948f68e4524dadbfd5922368f9a65a1e21d3f;p=sliver-openvswitch.git tests: Fix mirroring tests on big-endian architectures. These tests had a hidden dependency on the hash function in use, which yields different results on big-endian and little-endian architectures. This commit fixes the problem by properly parameterizing the parts that can differ. Signed-off-by: Ben Pfaff --- diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index cf3848cd1..f0d4d6425 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -412,10 +412,12 @@ AT_CHECK( set `cat stdout` p1=$1 p2=$2 p3=$3 -AT_DATA([flows.txt], [dnl -in_port=1 actions=output:2 -in_port=2 actions=output:1 -]) +cat > flows.txt < flows.txt < flows.txt < flows.txt < flows.txt < flows.txt <