Create .conf.db.~lock~ in same dir as DBDIR.
authorMehak Mahajan <mmahajan@nicira.com>
Thu, 2 Aug 2012 06:25:35 +0000 (23:25 -0700)
committerMehak Mahajan <mmahajan@nicira.com>
Thu, 2 Aug 2012 06:25:35 +0000 (23:25 -0700)
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@nicira.com>
tests/ofproto-macros.at

index dc9bc8646e1a8182df8e0bbdd0a9dc5a158e2785..1d5a7cfc69f653a24246780332d48ccd0d505bc1 100644 (file)
@@ -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.