X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fovsdb-data.at;h=d45e07bfaf9f61565995d3abb646d3036f2c3ddf;hb=c0a2e71d110ad2af474232e03ea9ad94cbbae46f;hp=973696194f02dabae71404d342002a90a869ed99;hpb=656833530941ef21c1a59656a5572b5155d0c302;p=openvswitch diff --git a/tests/ovsdb-data.at b/tests/ovsdb-data.at index 97369619..d45e07bf 100644 --- a/tests/ovsdb-data.at +++ b/tests/ovsdb-data.at @@ -260,6 +260,10 @@ OVSDB_CHECK_POSITIVE_CPY([uuid atom must be expressed as JSON array], [[parse-atoms '["uuid"]' '["550e8400-e29b-41d4-a716-446655440000"]']], [[syntax ""550e8400-e29b-41d4-a716-446655440000"": syntax error: expected ["uuid", ]]]) +OVSDB_CHECK_POSITIVE_CPY([named-uuid requires symbol table], + [parse-atoms '[["uuid"]]' '[["named-uuid", "x"]]'], + [[syntax "["named-uuid","x"]": syntax error: expected ["uuid", ]]]) + OVSDB_CHECK_NEGATIVE([empty string atom must be quoted], [[parse-atom-strings '["string"]' '']], [An empty string is not valid as input; use "" to represent the empty string])