[PATCH 3/4] Cygwin: testsuite: Fix cygload test

Jon Turney jon.turney@dronecode.org.uk
Fri Aug 4 12:47:22 GMT 2023


Use cygrun to isolate the cygload test from the current DLL, which
allows it to pass.
---
 winsup/testsuite/cygrun.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/testsuite/cygrun.sh b/winsup/testsuite/cygrun.sh
index c82c1872b..bf1d5cc6b 100755
--- a/winsup/testsuite/cygrun.sh
+++ b/winsup/testsuite/cygrun.sh
@@ -11,7 +11,7 @@ export PATH="$runtime_root:${PATH}"
 if [ "$1" = "./mingw/cygload" ]
 then
     windows_runtime_root=$(cygpath -m $runtime_root)
-    $exe -v -cygwin $windows_runtime_root/cygwin1.dll
+    $cygrun "$exe -v -cygwin $windows_runtime_root/cygwin1.dll"
 else
     cygdrop $cygrun $exe
 fi
-- 
2.39.0



More information about the Cygwin-patches mailing list