tests: Automatically initialize OVS_*DIR vars when tests begin.
authorBen Pfaff <blp@nicira.com>
Wed, 9 Sep 2015 17:20:14 +0000 (10:20 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 9 Sep 2015 17:24:24 +0000 (10:24 -0700)
commit6132b241efd21160db57d9908ee630a215cce8ea
treece31c89067efff3faca4526ee0e8864112762dcd
parent120c348fbc6761c47329b32bb4cdd3508041784e
tests: Automatically initialize OVS_*DIR vars when tests begin.

A lot of tests need to initialize the OVS_RUNDIR, OVS_LOGDIR, etc.
variables to point to the directory in which the tests run.  Until now,
each of them has had to do this individually, which is redundant.  This
commit starts to do this automatically.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
22 files changed:
tests/jsonrpc-py.at
tests/jsonrpc.at
tests/library.at
tests/ofproto-macros.at
tests/ovn-controller-vtep.at
tests/ovn-nbctl.at
tests/ovn-sbctl.at
tests/ovs-macros.at
tests/ovs-monitor-ipsec.at
tests/ovs-vsctl.at
tests/ovs-vswitchd.at
tests/ovs-xapi-sync.at
tests/ovsdb-execution.at
tests/ovsdb-idl.at
tests/ovsdb-macros.at
tests/ovsdb-monitor.at
tests/ovsdb-server.at
tests/ovsdb-tool.at
tests/unixctl-py.at
tests/vconn.at
tests/vlog.at
tests/vtep-ctl.at