[ovs-dev] [PATCH 04/17] ovsdb-server.at: Adjust PKIDIR for ssl test.

Gurucharan Shetty shettyg at nicira.com
Tue Jun 24 18:52:50 UTC 2014


For this particular test, we pass the PKIDIR through a
ovsdb-tool transact and msys does not convert the path style.
(On Windows, we have to pass the directory in the form C:/foo/bar.pem.)

So get the Windows style path through 'pwd -W'(which is called through
the function pwd ())

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
 tests/ovsdb-server.at |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovsdb-server.at b/tests/ovsdb-server.at
index 155d418..464c3bf 100644
--- a/tests/ovsdb-server.at
+++ b/tests/ovsdb-server.at
@@ -496,7 +496,7 @@ AT_CLEANUP
 AT_SETUP([SSL db: implementation])
 AT_KEYWORDS([ovsdb server positive ssl $5])
 AT_SKIP_IF([test "$HAVE_OPENSSL" = no])
-PKIDIR=$abs_top_builddir/tests
+PKIDIR="$(cd $abs_top_builddir/tests; pwd)"
 AT_SKIP_IF([expr "$PKIDIR" : ".*[ 	'\"
 \\]"])
 AT_DATA([schema],
-- 
1.7.9.5




More information about the dev mailing list