X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fovsdb-macros.at;h=c1aa619c3a951a79794c50633c5012dedbea722b;hb=3305a0d09cfc6df443f02a1b5e2d39656cb79189;hp=298236d6c24140f9654c586678b1b491f79de1ad;hpb=29381db022b1fd73c3d6e69150dd0cca64a59dfa;p=openvswitch diff --git a/tests/ovsdb-macros.at b/tests/ovsdb-macros.at index 298236d6..c1aa619c 100644 --- a/tests/ovsdb-macros.at +++ b/tests/ovsdb-macros.at @@ -2,12 +2,13 @@ dnl OVSDB_INIT([$1]) dnl dnl Creates an empty database named $1. m4_define([OVSDB_INIT], - [OVS_CHECK_LCOV( + [AT_CHECK( [ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema], [0], [stdout], [ignore]) - OVS_CHECK_LCOV( + AT_CHECK( [[ovsdb-tool transact $1 \ - '[{"op": "insert", + '["Open_vSwitch", + {"op": "insert", "table": "Open_vSwitch", "row": {}}]']], [0], [ignore], [ignore])])