[ovs-dev] [PATCH] Create .conf.db.~lock~ in same dir as DBDIR.
Mehak Mahajan
mmahajan at nicira.com
Thu Aug 2 05:52:08 UTC 2012
Commit f973f2af (Make the location of the database separately configurable.)
introduced the environment variable OVS_DBDIR which specifies the path for
the conf.db. With this commit, .conf.db.~lock~ will also be created in the
DBDIR.
Signed-off-by: Mehak Mahajan <mmahajan at nicira.com>
---
tests/ofproto-macros.at | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at
index dc9bc86..1d5a7cf 100644
--- a/tests/ofproto-macros.at
+++ b/tests/ofproto-macros.at
@@ -36,8 +36,7 @@ m4_define([OVS_VSWITCHD_START],
trap 'kill `cat ovsdb-server.pid ovs-vswitchd.pid`' 0
dnl Create database.
- mkdir openvswitch
- touch openvswitch/.conf.db.~lock~
+ touch .conf.db.~lock~
AT_CHECK([ovsdb-tool create conf.db $abs_top_srcdir/vswitchd/vswitch.ovsschema])
dnl Start ovsdb-server.
--
1.7.2.5
More information about the dev
mailing list