From f79982ba930364f2d3935196dc13b422ba711ef2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 26 Apr 2012 10:57:14 -0700 Subject: [PATCH 1/1] 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 --- tests/ofproto-dpif.at | 60 ++++++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 24 deletions(-) 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 <