aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-07-22 20:54:49 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2023-08-08 14:15:39 +0100
commitedda3aeaf54ad6786031419f83513b1a6f756d97 (patch)
treebf9101fd60231dd7644b24e42529289a8ebb6785 /winsup/testsuite
parent718f37823dc8f5a738dcc8ee49e4e7b17671da56 (diff)
downloadnewlib-edda3aeaf54ad6786031419f83513b1a6f756d97.zip
newlib-edda3aeaf54ad6786031419f83513b1a6f756d97.tar.gz
newlib-edda3aeaf54ad6786031419f83513b1a6f756d97.tar.bz2
Cygwin: testsuite: Fix cygload test
Use cygrun to isolate the cygload test from the current DLL, which allows it to pass.
Diffstat (limited to 'winsup/testsuite')
-rwxr-xr-xwinsup/testsuite/cygrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/cygrun.sh b/winsup/testsuite/cygrun.sh
index c82c187..bf1d5cc 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