git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for post-2.2.0 (2.2.90).
[sliver-openvswitch.git]
/
tests
/
ovsdb-macros.at
diff --git
a/tests/ovsdb-macros.at
b/tests/ovsdb-macros.at
index
298236d
..
2aa752b
100644
(file)
--- a/
tests/ovsdb-macros.at
+++ b/
tests/ovsdb-macros.at
@@
-2,12
+2,14
@@
dnl OVSDB_INIT([$1])
dnl
dnl Creates an empty database named $1.
m4_define([OVSDB_INIT],
dnl
dnl Creates an empty database named $1.
m4_define([OVSDB_INIT],
- [OVS_CHECK_LCOV(
+ [OVS_RUNDIR=`pwd`; export OVS_RUNDIR
+ AT_CHECK(
[ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
[0], [stdout], [ignore])
[ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
[0], [stdout], [ignore])
-
OVS_CHECK_LCOV
(
+
AT_CHECK
(
[[ovsdb-tool transact $1 \
[[ovsdb-tool transact $1 \
- '[{"op": "insert",
+ '["Open_vSwitch",
+ {"op": "insert",
"table": "Open_vSwitch",
"row": {}}]']],
[0], [ignore], [ignore])])
"table": "Open_vSwitch",
"row": {}}]']],
[0], [ignore], [ignore])])