From c75af844101a33dffc84e7d69145bd6378da5ab2 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 1 Jun 2026 15:11:31 +0100 Subject: [PATCH] ITS#10515 tests: Windows compat We use MSYS(2) to build on Windows. To run the test suite we need to use Windows-compatible pathnames. --- tests/scripts/defines.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 52b497821a..65c928bf09 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -15,7 +15,10 @@ umask 077 -TESTWD=`pwd` +case "$OS" in +Windows*) TESTWD=`pwd -W` ;; +*) TESTWD=`pwd` ;; +esac if [ -z "$STARTTIME" ]; then STARTTIME=$(date +%s)