Cygwin: testsuite: Fix cygload test

Use cygrun to isolate the cygload test from the current DLL, which
allows it to pass.
This commit is contained in:
Jon Turney 2023-07-22 20:54:49 +01:00
parent 718f37823d
commit edda3aeaf5
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 1 additions and 1 deletions

View File

@ -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