]> git.proxmox.com Git - ovs.git/commit
tests: Avoid OVN environment variables leaking into tests.
authorBen Pfaff <blp@ovn.org>
Wed, 9 May 2018 18:18:15 +0000 (11:18 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 9 May 2018 20:03:25 +0000 (13:03 -0700)
commit66842c003c035c1d19d976276040c4c0f175b832
tree7b3325f7026f7767e4022e9afdca25bc04f0d14f
parent1beb60afd25a64f1779903b22b37ed3d9956d47c
tests: Avoid OVN environment variables leaking into tests.

If $OVN_NB_DB or $OVN_SB_DB happened to be set in the environment in which
"make check" was invoked, then their values would leak into the tests'
environment and interfere with the tests.  This commit avoids that problem.

OVS has a number of environment variables too, such as OVS_RUNDIR, but
the tests already set those to custom values.

Reported-by: Han Zhou <zhouhan@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Han Zhou <hzhou8@ebay.com>
tests/atlocal.in