From: Ben Pfaff Date: Fri, 7 May 2010 17:38:13 +0000 (-0700) Subject: tests: Fix bug in "weak references" test. X-Git-Tag: v1.0.0~33 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1f4f3cd7e05f032ac3e39b877e1e72077ca985d5;p=sliver-openvswitch.git tests: Fix bug in "weak references" test. One part of the "weak references" test inserts invalid all-zeros weak references into two columns and expects to get an error message mentioning one of them. Unfortunately the one that actually gets mentioned depends on hash ordering and thus differs between big-endian and little-endian machines. This commit fixes the problem by only putting an invalid reference in a single column, instead of two of them. --- diff --git a/tests/ovsdb-execution.at b/tests/ovsdb-execution.at index bbdcbb505..a6f14355f 100644 --- a/tests/ovsdb-execution.at +++ b/tests/ovsdb-execution.at @@ -644,7 +644,8 @@ OVSDB_CHECK_EXECUTION([weak references], [[["weak", {"op": "insert", "table": "a", - "row": {}}]]], + "row": {"a2a1": ["named-uuid", "me"]}, + "uuid-name": "me"}]]], dnl Try to delete row from "b" that is referred to by weak references dnl from "a" table "a2b" column that requires exactly one value. [[["weak",