public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-patches@cygwin.com
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH 3/4] Cygwin: testsuite: Fix cygload test
Date: Fri,  4 Aug 2023 13:47:22 +0100	[thread overview]
Message-ID: <20230804124723.9236-4-jon.turney@dronecode.org.uk> (raw)
In-Reply-To: <20230804124723.9236-1-jon.turney@dronecode.org.uk>

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


  parent reply	other threads:[~2023-08-04 12:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04 12:47 [PATCH 0/4] Testsuite update Jon Turney
2023-08-04 12:47 ` [PATCH 1/4] Cygwin: testsuite: Add '-notimeout' option to cygrun Jon Turney
2023-08-04 12:47 ` [PATCH 2/4] Cygwin: testsuite: Update README Jon Turney
2023-08-04 12:47 ` Jon Turney [this message]
2023-08-04 12:47 ` [PATCH 4/4] Cygwin: CI: XFAIL umask03 Jon Turney
2023-08-07  8:55 ` [PATCH 0/4] Testsuite update Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230804124723.9236-4-jon.turney@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-patches@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).