summaryrefslogtreecommitdiff
path: root/tests/vconn.at
diff options
context:
space:
mode:
authorPavithra Ramesh <paramesh@vmware.com>2013-02-08 12:37:18 -0800
committerBen Pfaff <blp@nicira.com>2013-02-11 11:18:58 -0800
commit2c487bc808ba6a4a297523f2c6b78ca3e358073a (patch)
tree821885e87f4784c887cd0b7b3ad91ced8d8ab9a0 /tests/vconn.at
parent1f3c5efcc6dc4ff09aaab6463462cbfe5d8bfb87 (diff)
downloadopenvswitch-2c487bc808ba6a4a297523f2c6b78ca3e358073a.tar.gz
stream-unix: Use rundir as root for relative paths.
Until now, "unix:" and "punix:" paths that are not absolute have been considered relative to the current working directory. It is more useful to consider them relative to the rundir, so this commit makes that change to the C and Python implementations of the stream code. This commit also relaxes the whitelist check in the bridge code so that any name that does not contain a "/" is considered OK. Signed-off-by: Pavithra Ramesh <paramesh@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/vconn.at')
-rw-r--r--tests/vconn.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vconn.at b/tests/vconn.at
index ae095b00b..359f97adf 100644
--- a/tests/vconn.at
+++ b/tests/vconn.at
@@ -11,6 +11,7 @@ m4_define([TEST_VCONN_CLASS],
[send-short-hello],
[send-invalid-version-hello]],
[AT_SETUP([$1 vconn - m4_bpatsubst(testname, [-], [ ])])
+ OVS_RUNDIR=`pwd`; export OVS_RUNDIR
m4_if([$1], [ssl], [
AT_SKIP_IF([test "$HAVE_OPENSSL" = no])
AT_CHECK([cp $abs_top_builddir/tests/testpki*.pem .])])