From: Gurucharan Shetty Date: Fri, 18 Apr 2014 15:17:11 +0000 (-0700) Subject: testsuite.at: pwd for windows. X-Git-Tag: sliver-openvswitch-2.2.90-1~3^2~95 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=038b21a100dd346a7e1fbf833284e1d58949e7cb;p=sliver-openvswitch.git testsuite.at: pwd for windows. On MinGW, "pwd -W" gives the present working directory in the form of windows path (i.e C:/temp instead of /c/temp). When we pass the directory path to daemons as arguments, we should be passing it in the form of windows path. Suggested-by: Ben Pfaff Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/tests/testsuite.at b/tests/testsuite.at index a569436bc..b045ae66e 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -41,6 +41,12 @@ seq () { set `expr $1 + ${3-1}` $2 $3 done } + +if test "$IS_WIN32" = "yes"; then + pwd () { + command pwd -W "$@" + } +fi ] m4_divert_pop([PREPARE_TESTS])