X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fovsdb-schema.at;h=008cc43167ef8ffa839596f40dbfacced3aaca9c;hb=991559357;hp=6cd2fa20fc2efe59fd379805c657585f67696253;hpb=d1b680c61626595b2777f4bf25997a9178acb60c;p=sliver-openvswitch.git diff --git a/tests/ovsdb-schema.at b/tests/ovsdb-schema.at index 6cd2fa20f..008cc4316 100644 --- a/tests/ovsdb-schema.at +++ b/tests/ovsdb-schema.at @@ -1,6 +1,6 @@ AT_BANNER([OVSDB -- schemas]) -OVSDB_CHECK_POSITIVE([schema with valid refTables], +OVSDB_CHECK_POSITIVE_CPY([schema with valid refTables], [[parse-schema \ '{"name": "mydb", "tables": { @@ -23,7 +23,7 @@ OVSDB_CHECK_POSITIVE([schema with valid refTables], "refTable": "a"}}}}}}}']], [[{"name":"mydb","tables":{"a":{"columns":{"map":{"type":{"key":{"refTable":"b","type":"uuid"},"value":{"refTable":"a","type":"uuid"}}}}},"b":{"columns":{"aRef":{"type":{"key":{"refTable":"a","type":"uuid"}}}}}}}]]) -OVSDB_CHECK_NEGATIVE([schema with invalid refTables], +OVSDB_CHECK_NEGATIVE_CPY([schema with invalid refTables], [[parse-schema \ '{"name": "mydb", "tables": { @@ -44,4 +44,4 @@ OVSDB_CHECK_NEGATIVE([schema with invalid refTables], "key": { "type": "uuid", "refTable": "a"}}}}}}}']], - [[test-ovsdb: syntax error: column map key refers to undefined table c]]) + [[syntax error: column map key refers to undefined table c]])