[newlib-cygwin/main] Cygwin: testsuite: Fix cygload test

Jon Turney jturney@sourceware.org
Tue Aug 8 13:16:13 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=edda3aeaf54ad6786031419f83513b1a6f756d97

commit edda3aeaf54ad6786031419f83513b1a6f756d97
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat Jul 22 20:54:49 2023 +0100

    Cygwin: testsuite: Fix cygload test
    
    Use cygrun to isolate the cygload test from the current DLL, which
    allows it to pass.

Diff:
---
 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


More information about the Cygwin-cvs mailing list