From 549c1d0d63b20492d44384f91b7ecf0ac3ea77a9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 7 May 2010 10:38:13 -0700 Subject: [PATCH] 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. --- tests/ovsdb-execution.at | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", -- 2.47.0