From 038b21a100dd346a7e1fbf833284e1d58949e7cb Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Fri, 18 Apr 2014 08:17:11 -0700 Subject: [PATCH] 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 --- tests/testsuite.at | 6 ++++++ 1 file changed, 6 insertions(+) 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]) -- 2.20.1