From: Howard Chu Date: Mon, 1 Jun 2026 14:11:31 +0000 (+0100) Subject: ITS#10515 tests: Windows compat X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c75af844101a33dffc84e7d69145bd6378da5ab2;p=thirdparty%2Fopenldap.git 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. --- 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)