[PATCH] Cygwin: testsuite: test posix_spawn_file_actions_addopen with O_CLOEXEC

2025-07-08 Thread Jeremy Drake via Cygwin-patches
, char **argv) exitStatus (status, 0); errCode (posix_spawn_file_actions_destroy (&fa)); + /* test posix_spawn_file_actions_addopen with O_CLOEXEC */ + errCode (posix_spawn_file_actions_init (&fa)); + errCode (posix_spawn_file_actions_addopen (&fa, 0

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-07-04 Thread Corinna Vinschen
> > > > > > > > > -Wl,--disable-high-entropy-va in LDFLAGS? > > > > > > > > > > > > > > > > Why? > > > > > > > > > > > > > > With high-entropy-va, it has been observed that the PEB, TEB and &

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-07-03 Thread Jeremy Drake via Cygwin-patches
gt; > > > Why? > > > > > > > > > > > > With high-entropy-va, it has been observed that the PEB, TEB and > > > > > > stack can > > > > > > happen to overlap with the cygheap > > > > > > https://cygwin

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-07-03 Thread Corinna Vinschen
mingw/Makefile.am, shouldn't cygload > > > > > > > have > > > > > > > -Wl,--disable-high-entropy-va in LDFLAGS? > > > > > > > > > > > > Why? > > > > > > > > > > With high-entropy-va, it has been observed that

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-07-02 Thread Jeremy Drake via Cygwin-patches
tropy-va in LDFLAGS? > > > > > > > > > > Why? > > > > > > > > With high-entropy-va, it has been observed that the PEB, TEB and stack > > > > can > > > > happen to overlap with the cygheap > > > > htt

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-07-02 Thread Corinna Vinschen
it has been observed that the PEB, TEB and stack can > > > happen to overlap with the cygheap > > > https://cygwin.com/pipermail/cygwin/2024-May/256000.html > > > > Yeah, but HEVA simply breaks fork. We don't have to test this, because > > it won't work and

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-06-30 Thread Jeremy Drake via Cygwin-patches
gwin.com/pipermail/cygwin/2024-May/256000.html > > Yeah, but HEVA simply breaks fork. We don't have to test this, because > it won't work and we don't do it. You can set the PE flag, but than > you're on your own. Outside of fork, is cygheap able to "relocate" in case the memory it would like to occupy is already used?

Re: [PATCH 3/3] Cygwin: testsuite: test passing directory fd to child

2025-06-30 Thread Corinna Vinschen
On Jun 27 12:13, Jeremy Drake via Cygwin-patches wrote: > On Fri, 27 Jun 2025, Corinna Vinschen wrote: > > > On Jun 26 13:34, Jeremy Drake via Cygwin-patches wrote: > > > It doesn't make a whole lot of sense to redirect stdin/out/err to/from a > > > directory ha

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-06-30 Thread Corinna Vinschen
-disable-high-entropy-va in LDFLAGS? > > > > Why? > > With high-entropy-va, it has been observed that the PEB, TEB and stack can > happen to overlap with the cygheap > https://cygwin.com/pipermail/cygwin/2024-May/256000.html Yeah, but HEVA simply breaks fork. We don't have

Re: [PATCH] Cygwin: testsuite: test relative path to exe after addchdir.

2025-06-30 Thread Corinna Vinschen
On Jun 27 10:00, Jeremy Drake via Cygwin-patches wrote: > On Fri, 27 Jun 2025, Corinna Vinschen wrote: > > > On Jun 26 13:29, Jeremy Drake via Cygwin-patches wrote: > > > This is apparently relative to the new cwd, but my implementation is > > > currently treating it as relative to the parent's cw

Re: [PATCH 3/3] Cygwin: testsuite: test passing directory fd to child

2025-06-27 Thread Jeremy Drake via Cygwin-patches
On Fri, 27 Jun 2025, Corinna Vinschen wrote: > On Jun 26 13:34, Jeremy Drake via Cygwin-patches wrote: > > It doesn't make a whole lot of sense to redirect stdin/out/err to/from a > > directory handle, but test it anyway. > > I disagree. There's nothing wrong i

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-06-27 Thread Jeremy Drake via Cygwin-patches
On Fri, 27 Jun 2025, Corinna Vinschen wrote: > On Jun 26 13:31, Jeremy Drake via Cygwin-patches wrote: > > BTW, I noticed while editing mingw/Makefile.am, shouldn't cygload have > > -Wl,--disable-high-entropy-va in LDFLAGS? > > Why? With high-entropy-va, it has been observed that the PEB, TEB and

Re: [PATCH] Cygwin: testsuite: test relative path to exe after addchdir.

2025-06-27 Thread Jeremy Drake via Cygwin-patches
On Fri, 27 Jun 2025, Corinna Vinschen wrote: > On Jun 26 13:29, Jeremy Drake via Cygwin-patches wrote: > > This is apparently relative to the new cwd, but my implementation is > > currently treating it as relative to the parent's cwd, so it's worth > > testing. > > > > Signed-off-by: Jeremy Drake

Re: [PATCH 3/3] Cygwin: testsuite: test passing directory fd to child

2025-06-27 Thread Corinna Vinschen
On Jun 26 13:34, Jeremy Drake via Cygwin-patches wrote: > It doesn't make a whole lot of sense to redirect stdin/out/err to/from a > directory handle, but test it anyway. I disagree. There's nothing wrong if a program expects a directory handle on a file descriptor if the task

Re: [PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-06-27 Thread Corinna Vinschen
On Jun 26 13:31, Jeremy Drake via Cygwin-patches wrote: > This program is currently meant to test standard file handles and > current working directory (since these are settable via posix_spawn), > but could be extended to add additional checks if other cygwin-to-win32 > process proper

Re: [PATCH] Cygwin: testsuite: test relative path to exe after addchdir.

2025-06-27 Thread Corinna Vinschen
On Jun 26 13:29, Jeremy Drake via Cygwin-patches wrote: > This is apparently relative to the new cwd, but my implementation is > currently treating it as relative to the parent's cwd, so it's worth > testing. > > Signed-off-by: Jeremy Drake > --- > winsup/testsuite/winsup.api/posix_spawn/errors.

[PATCH] Cygwin: testsuite: test relative path to exe after addchdir.

2025-06-26 Thread Jeremy Drake via Cygwin-patches
This is apparently relative to the new cwd, but my implementation is currently treating it as relative to the parent's cwd, so it's worth testing. Signed-off-by: Jeremy Drake --- winsup/testsuite/winsup.api/posix_spawn/errors.c | 8 1 file changed, 8 insertions(+) diff --git a/winsup/t

[PATCH 3/3] Cygwin: testsuite: test passing directory fd to child

2025-06-26 Thread Jeremy Drake via Cygwin-patches
It doesn't make a whole lot of sense to redirect stdin/out/err to/from a directory handle, but test it anyway. Signed-off-by: Jeremy Drake --- winsup/testsuite/winsup.api/posix_spawn/chdir.c | 12 winsup/testsuite/winsup.api/posix_spawn/win32.c | 11 +++ 2 files change

[PATCH 2/3] Cygwin: testsuite: test posix_spawn of a non-Cygwin executable.

2025-06-26 Thread Jeremy Drake via Cygwin-patches
Test CWD and redirection of standard handles. Signed-off-by: Jeremy Drake --- winsup/testsuite/Makefile.am | 1 + .../testsuite/winsup.api/posix_spawn/win32.c | 170 ++ 2 files changed, 171 insertions(+) create mode 100644 winsup/testsuite/winsup.api

[PATCH 1/3] Cygwin: testsuite: add a mingw test program to spawn

2025-06-26 Thread Jeremy Drake via Cygwin-patches
This program is currently meant to test standard file handles and current working directory (since these are settable via posix_spawn), but could be extended to add additional checks if other cygwin-to-win32 process properties need to be tested. Change cygrun environment variable to mingwtestdir

Re: [PATCH] Cygwin: testsuite: test posix_file_actions_add(f)chdir

2025-06-25 Thread Corinna Vinschen
On Jun 24 13:47, Jeremy Drake via Cygwin-patches wrote: > Also test their interaction with addopen, as opens added subsequent to a > chdir need to be relative to that new cwd. > > In order for the tests to compile on Linux, define O_SEARCH to O_PATH if > O_SEARCH is not defin

[PATCH] Cygwin: testsuite: test posix_file_actions_add(f)chdir

2025-06-24 Thread Jeremy Drake via Cygwin-patches
Also test their interaction with addopen, as opens added subsequent to a chdir need to be relative to that new cwd. In order for the tests to compile on Linux, define O_SEARCH to O_PATH if O_SEARCH is not defined, and use the *chdir_np names instead of the now-standardized *chdir. Signed-off-by

[PATCH v2 4/4] Cygwin: testsuite: test posix_spawn_file_actions.

2025-06-20 Thread Jeremy Drake via Cygwin-patches
, "", NULL}; + + /* unbuffer stdout */ + setvbuf(stdout, NULL, _IONBF, 0); + + if (argc == 4 && !strcmp (argv[1], "--child")) +return handle_child (argv[2], argv[3]); + + /* open file descriptors to test inheritance */ + negError (fd = open ("/dev/null"

[PATCH v2 3/4] Cygwin: testsuite: test signal mask and ignore options.

2025-06-20 Thread Jeremy Drake via Cygwin-patches
Test both that SIG_IGN and sigprocmask are inherited by default, and that posix_spawnattr options can prevent this. Signed-off-by: Jeremy Drake --- winsup/testsuite/Makefile.am | 1 + .../winsup.api/posix_spawn/signals.c | 82 +++ .../testsuite

[PATCH v2 2/4] Cygwin: testsuite: test posix_spawnp

2025-06-20 Thread Jeremy Drake via Cygwin-patches
+{ + pid_t pid; + int status; + /* the test installation has very limited binaries on the PATH, but sh is one + of them and 'true' should be a builtin */ + char *childargv[] = {"sh", "-c", "true", NULL}; + char *childenv[] = {NULL}; + + /* unbuffer std

Re: [PATCH] Cygwin: CI: Add running on arm64 to stress test matrix

2025-05-03 Thread Jon Turney
more of a baseline for how this test behaves). I have seen the 'kill' and 'alarm' stress-ng tests sometimes fail on arm64. I'm sure this is a bug in Cygwin somewhere, but investigating it isn't easy without the hardware...

Re: [PATCH] Cygwin: CI: Add running on arm64 to stress test matrix

2025-05-03 Thread Jon Turney
On 27/04/2025 22:20, Jeremy Drake via Cygwin-patches wrote: On Sun, 27 Apr 2025, Jon Turney wrote: Use an output variable from cygwin-install-action to inform where we unpack the just-built cygwin artifact, because apparently the Windows ARM64 runners have a different configuration (no D: drive

Re: [PATCH] Cygwin: CI: Add running on arm64 to stress test matrix

2025-04-27 Thread Jeremy Drake via Cygwin-patches
+++ > 1 file changed, 13 insertions(+), 8 deletions(-) > > diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml > index fa00834ce..54d7de1bb 100644 > --- a/.github/workflows/cygwin.yml > +++ b/.github/workflows/cygwin.yml > @@ -204,14 +2

[PATCH] Cygwin: CI: Add running on arm64 to stress test matrix

2025-04-27 Thread Jon Turney
n.yml | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index fa00834ce..54d7de1bb 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -204,14 +204,18 @@ jobs: windows-s

Re: [PATCH 3/4] Cygwin: CI: Make stress test terser

2025-04-20 Thread Jon Turney
Only show test output if it fails Capture all test output in an artifact Are messages cygwin prints itself also captured? See below. ---   .github/workflows/cygwin.yml  | 10 ++   winsup/testsuite/stress/cygstress | 13 -   2 files changed, 18 insertions(+), 5 dele

[PATCH 4/4] Cygwin: CI: Disable stress-ng clock test

2025-04-20 Thread Jon Turney
> stress-ng: 23:25:43.13 debug: [1338] invoked with 'stress-ng -v -M --oomable > --timestamp --verify --temp-path > /cygdrive/c/Users/RUNNER~1/AppData/Local/Temp/stress-ng.1237.5.d -t 5 > --log-file /cygdrive/d/a/cygwin/cygwin/logs/clock --clock 2' by user 197108 > 'runneradmin' > stress-ng: 23

[PATCH 3/4] Cygwin: CI: Make stress test terser

2025-04-20 Thread Jon Turney
v2: Only echo the command in dryrun mode Capture stress-ng stderr and stdout to a file Normally only show the test output if it fails Capture all test output in an artifact --- .github/workflows/cygwin.yml | 10 ++ winsup/testsuite/stress/cygstress | 16 +++- 2 files

Re: [PATCH 3/4] Cygwin: CI: Make stress test terser

2025-04-11 Thread Christian Franke
Jon Turney wrote: Don't echo the command being run OK, but this breaks -n option which is occasionally useful, see below. Capture stress-ng output to file Only show test output if it fails Capture all test output in an artifact Are messages cygwin prints itself also captured? See

[PATCH 3/4] Cygwin: CI: Make stress test terser

2025-04-11 Thread Jon Turney
Don't echo the command being run Capture stress-ng output to file Only show test output if it fails Capture all test output in an artifact --- .github/workflows/cygwin.yml | 10 ++ winsup/testsuite/stress/cygstress | 13 - 2 files changed, 18 insertions(+), 5 dele

[PATCH 4/4] Cygwin: CI: Disable stress-ng clock test

2025-04-11 Thread Jon Turney
> stress-ng: 23:25:43.13 debug: [1338] invoked with 'stress-ng -v -M --oomable > --timestamp --verify --temp-path > /cygdrive/c/Users/RUNNER~1/AppData/Local/Temp/stress-ng.1237.5.d -t 5 > --log-file /cygdrive/d/a/cygwin/cygwin/logs/clock --clock 2' by user 197108 > 'runneradmin' > stress-ng: 23

Re: [PATCH] Cygwin: faq: add test of fork/exec slowdown by anti-virus

2025-03-30 Thread Corinna Vinschen
; > -- > Regards, > Christian > > From a9438be956dc81ac237ef70f9c07934ba4906dae Mon Sep 17 00:00:00 2001 > From: Christian Franke > Date: Sat, 29 Mar 2025 16:34:33 +0100 > Subject: [PATCH] Cygwin: faq: add test of fork/exec slowdown by anti-virus > > Signed-off-by: Chr

[PATCH] Cygwin: faq: add test of fork/exec slowdown by anti-virus

2025-03-29 Thread Christian Franke
Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Sat, 29 Mar 2025 16:34:33 +0100 Subject: [PATCH] Cygwin: faq: add test of fork/exec slowdown by anti-virus Signed-off-by: Christian Franke --- winsup/doc/faq-using.xml | 20 1 file changed, 20 insertions(+) diff --git a

[PATCH] Cygwin: testsuite: Add socketpair_full test

2023-08-08 Thread Jon Turney
Add the socketpair_full test from [1], fixed by [2], slightly improved by the addition of a timeout. This test might perhaps be better named. This might also serve as an example of how to add new tests. [1] https://cygwin.com/pipermail/cygwin-developers/2023-July/012640.html [2] dedbbd74d0a8

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

2023-08-04 Thread Jon Turney
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

[PATCH 04/11] Cygwin: testsuite: Skip devdsp test when no audio devices present

2023-07-13 Thread Jon Turney
/winsup/testsuite/Makefile.am @@ -325,6 +325,9 @@ AM_CPPFLAGS = -I$(srcdir)/libltp/include AM_LDFLAGS = $(LDFLAGS_FOR_TESTDLL) LDADD = $(builddir)/libltp.a $(builddir)/../cygwin/binmode.o $(LDADD_FOR_TESTDLL) +# additional flags for specific test executables +winsup_api_devdsp_LDADD = -lwinmm

[PATCH 01/11] Cygwin: testsuite: Setup test prereqs in 'installation' the tests run in

2023-07-13 Thread Jon Turney
p 10") +# * Ensure there is a /usr/bin/ls for tests which use system("ls") +# +# copy to avoid all the complexities: hardlink will fail if builddir is on a +# separate filesystem, symlink would need to be constructed with regard to the +# mounts of the test installation, and m

[PATCH] Cygwin: Makefile: Drop all the "test dll" considerations

2022-12-21 Thread Jon Turney
After 90236c3a2cf6, the testsuite is failing, as the cygwin0.dll that the implib testsuite programs are linked with references doesn't exist anymore. We don't need to make and link with a specially named DLL, as the cygwin DLL (for a long time now) takes into consideration the path it's executing

[PATCH 6/6] Cygwin: testsuite: Add x86_64 code to "dynamically load cygwin" test

2022-08-26 Thread Jon Turney
This still needs some more voudou to actually work. Also update how-cygtls-works.txt a bit --- winsup/cygwin/DevDocs/how-cygtls-works.txt | 25 ++ winsup/testsuite/winsup.api/cygload.cc | 22 --- winsup/testsuite/winsup.api/cygload.exp| 8 ++- 3 fi

test

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
please ignore

[PATCH 09/11] Check exit code of a test, rather than stdout

2020-11-05 Thread Jon Turney
In winsup.exp, don't consider a command failed if it produced any output (e.g. if the compiler produced warnings). Instead check the exit code. --- winsup/testsuite/winsup.api/winsup.exp | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/winsup/testsuite/win

[PATCH v3 07/10] fhandler_proc.cc(format_proc_cpuinfo): use feature test print macro

2019-10-07 Thread Brian Inglis
feature test print macro makes feature, bit, and flag text comparison and checking easier; handle as common former Intel only feature flags also supported on AMD; change order and some flag names to agree with current Linux --- winsup/cygwin/fhandler_proc.cc | 421

Re: [ANNOUNCEMENT] cygwin 3.1.0-0.5 (TEST)

2019-09-21 Thread Takashi Yano
Hi Ken, On Sat, 21 Sep 2019 21:58:07 + Ken Brown wrote: > On 9/20/2019 6:05 PM, Ken Brown wrote:> I'll make a new test release this > weekend, or whenever you think it's time. > > I'm building a new test release right now. I'll upload it in about 24 hou

Re: [ANNOUNCEMENT] cygwin 3.1.0-0.5 (TEST)

2019-09-21 Thread Ken Brown
Hi Takashi, On 9/20/2019 6:05 PM, Ken Brown wrote:> I'll make a new test release this weekend, or whenever you think it's time. I'm building a new test release right now. I'll upload it in about 24 hours unless you tell me that you'd like me to wait for further patches. Ken

Re: [ANNOUNCEMENT] cygwin 3.1.0-0.5 (TEST)

2019-09-20 Thread Ken Brown
rd when PTY is in the legacy mode. > [PATCH] Cygwin: console: Make console input work in GDB and strace. I think I've pushed all your patches now. > I am sorry to submit patches in a short time since last test release. No problem. I'll make a new test release this weekend, or whenever you think it's time. Ken

Re: [PATCH 2/2] cleanup winsup/doc/etc.{postinstall,preremove}.cygwin-doc.sh quote test variables, correct utility paths, define site in preremove

2017-12-22 Thread Corinna Vinschen
On Dec 22 11:35, Brian Inglis wrote: > --- > winsup/doc/etc.postinstall.cygwin-doc.sh | 10 +- > winsup/doc/etc.preremove.cygwin-doc.sh | 5 +++-- > 2 files changed, 8 insertions(+), 7 deletions(-) Pushed. Thanks, Corinna -- Corinna Vinschen Please, send mails rega

[PATCH 2/2] cleanup winsup/doc/etc.{postinstall,preremove}.cygwin-doc.sh quote test variables, correct utility paths, define site in preremove

2017-12-22 Thread Brian Inglis
--- winsup/doc/etc.postinstall.cygwin-doc.sh | 10 +- winsup/doc/etc.preremove.cygwin-doc.sh | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/winsup/doc/etc.postinstall.cygwin-doc.sh b/winsup/doc/etc.postinstall.cygwin-doc.sh index 935bd94e1..de7d9e0c3 100755 -

Re: [PATCH] Feature test macros overhaul: Cygwin limits.h, part 2

2017-11-28 Thread Corinna Vinschen
On Nov 27 22:10, Yaakov Selkowitz wrote: > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html > https://sourceware.org/ml/newlib/2017/msg01133.html > > Signed-off-by: Yaakov Selkowitz > --- ACK, please push. Thanks, Corinna -- Corinna Vinschen Please, sen

[PATCH] Feature test macros overhaul: Cygwin limits.h, part 2

2017-11-27 Thread Yaakov Selkowitz
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html https://sourceware.org/ml/newlib/2017/msg01133.html Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/include/limits.h | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/winsup

Re: [PATCH 1/2] Feature test macros overhaul: Cygwin netdb.h

2017-10-09 Thread Corinna Vinschen
On Sep 26 20:36, Yaakov Selkowitz wrote: > herror etc. are MISC, rcmd etc. are BSD, addrinfo functions are > POSIX.1-2001, except for IDN functionality which is GNU. > > Signed-off-by: Yaakov Selkowitz > --- > winsup/cygwin/include/netdb.h | 26 -- > 1 file changed, 24 in

[PATCH 1/2] Feature test macros overhaul: Cygwin netdb.h

2017-09-26 Thread Yaakov Selkowitz
herror etc. are MISC, rcmd etc. are BSD, addrinfo functions are POSIX.1-2001, except for IDN functionality which is GNU. Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/include/netdb.h | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin

Re: [PATCH] Feature test macros overhaul: Cygwin signal.h

2017-06-14 Thread Corinna Vinschen
On Jun 13 15:01, Yaakov Selkowitz wrote: > This should match newlib's . > > Signed-off-by: Yaakov Selkowitz > --- > winsup/cygwin/include/cygwin/signal.h | 26 +- > 1 file changed, 25 insertions(+), 1 deletion(-) ACK Thanks, Corinna -- Corinna Vinschen

[PATCH] Feature test macros overhaul: Cygwin signal.h

2017-06-13 Thread Yaakov Selkowitz
This should match newlib's . Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/include/cygwin/signal.h | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index f30499505..70

test message

2017-04-19 Thread Daniel Santos
Will this bounce again?

[PATCH 1/4] Feature test macros overhaul: Cygwin pthread.h

2016-04-01 Thread Yaakov Selkowitz
As a Cygwin-specific header, there is no need to guard functions based on capability macros. Instead, guard several blocks based on additions or removals in later versions of POSIX.1, along with a few which are only XSI or GNU extensions. Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/includ

Re: Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

2016-03-19 Thread Thomas Wolff
Am 16.03.2016 um 10:28 schrieb Corinna Vinschen: On Mar 15 22:40, Thomas Wolff wrote: Hi Corinna, here is my updated patch. Changelog (old format): Just drop this line from the comment, please. If you send the mail via git format-patch/git send-email I can simply apply it with git am including

Re: Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

2016-03-19 Thread Corinna Vinschen
On Mar 16 23:08, Thomas Wolff wrote: > Am 16.03.2016 um 10:28 schrieb Corinna Vinschen: > >On Mar 15 22:40, Thomas Wolff wrote: > >>Hi Corinna, > >>here is my updated patch. > >>>Changelog (old format): > >>>Just drop this line from the comment, please. If you send the mail > >>>via git format-pat

Re: Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

2016-03-16 Thread Corinna Vinschen
On Mar 15 22:40, Thomas Wolff wrote: > Hi Corinna, > here is my updated patch. > >Changelog (old format): > >Just drop this line from the comment, please. If you send the mail > >via git format-patch/git send-email I can simply apply it with git am > >including the entire text in the git log. > I

Re: Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

2016-03-15 Thread Thomas Wolff
Hi Corinna, here is my updated patch. Changelog (old format): Just drop this line from the comment, please. If you send the mail via git format-patch/git send-email I can simply apply it with git am including the entire text in the git log. I hope the comment format is OK now, I cannot currently

Re: Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

2016-03-15 Thread Corinna Vinschen
Hi Thomas, Thanks for the patch. I have a few comments, though. On Mar 15 14:16, Thomas Wolff wrote: > On 13.03.2016, Corinna Vinschen wrote: > >- Make buffered console characters visible to select(). > > Addresses: https://cygwin.com/ml/cygwin/2014-12/msg00118.html > Triggered by this change

Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

2016-03-15 Thread Thomas Wolff
On 13.03.2016, Corinna Vinschen wrote: - Make buffered console characters visible to select(). Addresses: https://cygwin.com/ml/cygwin/2014-12/msg00118.html Triggered by this change, I thought I'd revisit an old problem (https://cygwin.com/ml/cygwin-patches/2012-q3/msg00019.html), and in fac

Re: [PATCH] winsup/doc: Add a configure test to find docbook2xtexi

2015-07-05 Thread Corinna Vinschen
On Jul 5 19:11, Jon TURNEY wrote: > Fedora installs docbook2texi under the name db2x_docbook2texi > Other distros and Cygwin install docbook2texi under the name docbook2x-texi > > Add a configure test to find either. > > 2015-07-05 Jon Turney > > * con

[PATCH] winsup/doc: Add a configure test to find docbook2xtexi

2015-07-05 Thread Jon TURNEY
Fedora installs docbook2texi under the name db2x_docbook2texi Other distros and Cygwin install docbook2texi under the name docbook2x-texi Add a configure test to find either. 2015-07-05 Jon Turney * configure.ac: Add check for DOCBOOK2XTEXI * configure: Regenerate

Re: [Patch] readdir_r: fix sense of error-test.

2005-08-28 Thread Christopher Faylor
On Sat, Aug 27, 2005 at 09:58:47PM +0200, Bas van Gompel wrote: >(I'm still getting errors on the following testcase after applying >this. (try 0 err=7439xxx)) This is now fixed in CVS, btw. I had a typo in cygwin.din where I had readdir_r = readdir. I discovered this by single stepping into th

Re: [Patch] readdir_r: fix sense of error-test.

2005-08-28 Thread Christopher Faylor
On Sun, Aug 28, 2005 at 11:22:30PM +0200, Bas van Gompel wrote: >Op Sun, 28 Aug 2005 13:16:44 -0400 schreef Christopher Faylor >in <[EMAIL PROTECTED]>: >: On Sat, Aug 27, 2005 at 09:58:47PM +0200, Bas van Gompel wrote: >: > If you want to see why this really does not require a copyright- >: > assi

Re: [Patch] readdir_r: fix sense of error-test.

2005-08-28 Thread Bas van Gompel
Op Sun, 28 Aug 2005 13:16:44 -0400 schreef Christopher Faylor in <[EMAIL PROTECTED]>: : On Sat, Aug 27, 2005 at 09:58:47PM +0200, Bas van Gompel wrote: : > If you want to see why this really does not require a copyright- : > assignment, view the diff with testsuite/winsup.api/ltp/readdir01.c, : >

Re: [Patch] readdir_r: fix sense of error-test.

2005-08-28 Thread Christopher Faylor
On Sat, Aug 27, 2005 at 09:58:47PM +0200, Bas van Gompel wrote: >If you want to see why this really does not require a copyright- >assignment, view the diff with testsuite/winsup.api/ltp/readdir01.c, >and remove all parts which are just comments. Btw, you can't just grab someone else's source code

Re: [Patch] readdir_r: fix sense of error-test.

2005-08-28 Thread Christopher Faylor
On Sat, Aug 27, 2005 at 09:58:47PM +0200, Bas van Gompel wrote: >2005-08-27 Bas van Gompel <[EMAIL PROTECTED]> > > *dir.cc (readdir_r): Invert sense on error-test. Applied. Thanks. cgf

[Patch] readdir_r: fix sense of error-test.

2005-08-27 Thread Bas van Gompel
Invert sense on error-test. Index: src/winsup/cygwin/dir.cc === RCS file: /cvs/src/src/winsup/cygwin/dir.cc,v retrieving revision 1.91 diff -u -p -r1.91 dir.cc --- src/winsup/cygwin/dir.cc23 Aug 2005 03:58:04 - 1.91 +++ s

stopping floppy seeks (Was: available for test: findutils-20041219-1)

2004-12-24 Thread Brian Dessent
Brian Dessent wrote: > > Let me say it again. This is not new behavior: > > > > 2003-08-05 Pavel Tsekov > > > > * path.cc (cygdrive_getmntent): Do not skip over drives of type > > DRIVE_REMOVABLE. > > > > Perhaps you should be discussing this with Pavel. > > Okay, I misunderst

Re: /dev/dsp test to go into the winsup testsuite, now using libltp

2004-03-24 Thread Corinna Vinschen
On Mar 23 23:14, Gerd Spalink wrote: > Hello, > > This is the modified test for the /dev/dsp device. Cool, especially the final okay ;-) I've applied it. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cy

Re: Patch 20040321 for audio recording with /dev/dsp (indented), test issues

2004-03-23 Thread Nicholas Wourms
cgf wrote: On Tue, Mar 23, 2004 at 12:09:33PM +0100, Corinna Vinschen wrote: Chris, do you have a personally approved set of indent options which give a useful result, perhaps? No, I don't use indent very often. Gdb has an indent script, though. I've attached it to this message. I can't conf

Re: Patch 20040321 for audio recording with /dev/dsp (indented), test issues

2004-03-23 Thread Christopher Faylor
On Tue, Mar 23, 2004 at 12:09:33PM +0100, Corinna Vinschen wrote: >Chris, do you have a personally approved set of indent options which >give a useful result, perhaps? No, I don't use indent very often. Gdb has an indent script, though. I've attached it to this message. I can't confirm or deny

Re: Patch 20040321 for audio recording with /dev/dsp (indented), test issues

2004-03-23 Thread Corinna Vinschen
On Mar 22 21:47, Gerd Spalink wrote: > > [From now on, the tests make *no* sound] > > > This is correct, since the following are the tests for audio > recording. They record whatever is at your currently > selected analog audio source (could be MIC, LINE, CD), > and silently ignore the recorded

RE: Patch 20040321 for audio recording with /dev/dsp (indented), test issues

2004-03-22 Thread Gerd Spalink
Please find my answers inserted below. On Monday, March 22, 2004 6:06 PM, Corinna Vinschen [SMTP:[EMAIL PROTECTED] wrote: > On Mar 21 22:55, Gerd Spalink wrote: > > There were no comments about the test program I sent. Do you want to > > put it or something like it into the rep

Test case for 230.4Kbps support patches - uncovers errno propagation problem?

2003-01-21 Thread Troy Curtiss
The attached program ratchets through the bitrates defined in termios.h and tests a given (as first argument) serial port. This test will indicate if tcsetattr() returns an error when invalid bitrates are attempted on a given serial port (along with perror() to print the error-message associated

Re: test cases for cancellation patches

2003-01-10 Thread Robert Collins
On Sat, 2003-01-11 at 03:30, Christopher Faylor wrote: > On Fri, Jan 10, 2003 at 10:46:19AM +0100, Thomas Pfaff wrote: > >Attached are test cases for the cancellation patches. > > Thomas, > You should feel free to check in test cases after submitting them here. Yeah - CVS track

Re: test cases for cancellation patches

2003-01-10 Thread Christopher Faylor
On Fri, Jan 10, 2003 at 10:46:19AM +0100, Thomas Pfaff wrote: >Attached are test cases for the cancellation patches. Thomas, You should feel free to check in test cases after submitting them here. cgf

test cases for cancellation patches

2003-01-10 Thread Thomas Pfaff
Attached are test cases for the cancellation patches. Thomas pthreads-test.tar.gz Description: GNU Zip compressed data

Any test suite additions for all of the pthreads work?

2002-09-21 Thread Christopher Faylor
It would be really nice (tm, (c), patent pending) if someone would submit some pthread additions to the cygwin test suite. Maybe there are some out there on the internet somewhere that can be adapted? *Any* new test suite additions would be a really nice thing for cygwin, in fact. cgf

RE: IPC test suite

2002-05-02 Thread Robert Collins
> -Original Message- > From: Christopher Faylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 2:16 PM > To: [EMAIL PROTECTED] > Subject: Re: IPC test suite > > > On Wed, Mar 06, 2002 at 12:04:06AM +1100, Robert Collins wrote: > >AFAIC

Re: IPC test suite

2002-05-01 Thread Christopher Faylor
On Wed, Mar 06, 2002 at 12:04:06AM +1100, Robert Collins wrote: >AFAICT I'm now testing every aspect (barring multi-userid support) of >sys/ipc.h and sys/shm.h functionality. And the cygwin is passing. The >multi-userid support should be present and correct though. > >So.. for the brave, here t

IPC test suite

2002-03-05 Thread Robert Collins
Well, AFAICT I'm now testing every aspect (barring multi-userid support) of sys/ipc.h and sys/shm.h functionality. And the cygwin is passing. The multi-userid support should be present and correct though. So.. for the brave, here tis. Rob ipctest-0.1.3.tar.gz Description: GNU Zip compress