diff options
author | Ben Pfaff <blp@nicira.com> | 2012-07-27 15:52:21 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-08-01 10:55:57 -0700 |
commit | f973f2af2fd4452c8e182caf6a4346cf2a2a394e (patch) | |
tree | eb0a4ac92b8457ef682dfa89447342b209bf0f88 /tests/unixctl-py.at | |
parent | 01ca539f5c89fab1ea9a355d4cb75383dfb25da5 (diff) | |
download | openvswitch-f973f2af2fd4452c8e182caf6a4346cf2a2a394e.tar.gz |
Make the location of the database separately configurable.
The default is unchanged, /etc/openvswitch/conf.db.
This makes it possible to transition each Open vSwitch packaging from
/etc/openvswitch/conf.db to /var/lib/openvswitch/conf.db independently.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/unixctl-py.at')
-rw-r--r-- | tests/unixctl-py.at | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unixctl-py.at b/tests/unixctl-py.at index 037460265..15fd86be8 100644 --- a/tests/unixctl-py.at +++ b/tests/unixctl-py.at @@ -73,6 +73,7 @@ AT_CLEANUP AT_SETUP([unixctl bad target - Python]) OVS_RUNDIR=`pwd`; export OVS_RUNDIR +OVS_DBDIR=`pwd`; export OVS_DBDIR AT_SKIP_IF([test $HAVE_PYTHON = no]) AT_CHECK([PYAPPCTL -t bogus doit], [1], [], [stderr]) @@ -91,6 +92,7 @@ AT_SETUP([unixctl server - Python]) AT_SKIP_IF([test $HAVE_PYTHON = no]) OVS_RUNDIR=`pwd`; export OVS_RUNDIR OVS_LOGDIR=`pwd`; export OVS_LOGDIR +OVS_DBDIR=`pwd`; export OVS_DBDIR OVS_SYSCONFDIR=`pwd`; export OVS_SYSCONFDIR trap 'kill `cat test-unixctl.py.pid`' 0 AT_CAPTURE_FILE([`pwd`/test-unixctl.py.log]) |