From: Ben Pfaff Date: Wed, 18 Nov 2009 20:43:50 +0000 (-0800) Subject: ovsdb: Make ovsdb-server tests pass even when @RUNDIR@ is not writable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9edf64b05c7de01f39b7d88aa45af3d13b5cc72;p=openvswitch ovsdb: Make ovsdb-server tests pass even when @RUNDIR@ is not writable. --- diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at index 5d5eebdd..359f7e2e 100644 --- a/tests/ovsdb-server.at +++ b/tests/ovsdb-server.at @@ -20,7 +20,7 @@ m4_define([OVSDB_CHECK_EXECUTION], AT_DATA([schema], [$2 ]) OVS_CHECK_LCOV([ovsdb-tool create db schema], [0], [stdout], [ignore]) - AT_CHECK([ovsdb-server --detach --pidfile=$PWD/pid --listen=punix:socket db]) + AT_CHECK([ovsdb-server --detach --pidfile=$PWD/pid --listen=punix:socket --unixctl=$PWD/unixctl db]) m4_foreach([txn], [$3], [OVS_CHECK_LCOV([ovsdb-client transact unix:socket 'txn'], [0], [stdout], [ignore], [test ! -e pid || kill `cat pid`])