CVS commit: src/tests/lib/libc/gen

2024-05-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 20 11:21:46 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: More volatile to prevent optimization. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/tests/lib/libc/gen

2024-05-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 20 11:21:46 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: More volatile to prevent optimization. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/tests/lib/libc/gen

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:10:54 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: Use volatile to prevent optimization. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/tests/lib/libc/gen

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:10:54 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: Use volatile to prevent optimization. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51

CVS commit: src/tests/lib/libc/gen

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:10:15 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: No SIGFPE on RISC-V. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/tests/lib/libc/gen/t_siginfo.c

CVS commit: src/tests/lib/libc/gen

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:10:15 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: No SIGFPE on RISC-V. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/tests/lib/libc/gen/t_siginfo.c

CVS commit: src/tests/lib/libc/gen

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 14:44:40 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpclassify.c Log Message: tests/lib/libc/gen/t_fpclassify: Test fpclassify on non-IEEE754 too. Just exclude the subnormal parts on non-IEEE754

CVS commit: src/tests/lib/libc/gen

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 14:44:40 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpclassify.c Log Message: tests/lib/libc/gen/t_fpclassify: Test fpclassify on non-IEEE754 too. Just exclude the subnormal parts on non-IEEE754

CVS commit: src/tests/lib/libc/gen

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 14:13:09 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpclassify.c Log Message: tests/lib/libc/gen/t_fpclassify: Spruce this up a bit. Provide more useful diagnostics when tests fail. To generate a diff of

CVS commit: src/tests/lib/libc/gen

2024-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 9 14:13:09 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpclassify.c Log Message: tests/lib/libc/gen/t_fpclassify: Spruce this up a bit. Provide more useful diagnostics when tests fail. To generate a diff of

CVS commit: src/tests/lib/libc/gen

2024-05-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 7 21:00:00 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpclassify.c Log Message: tests/lib/libc/gen/t_fpclassify: Enable long double tests. The necessary long double symbols should all be available now. If

CVS commit: src/tests/lib/libc/gen

2024-05-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 7 21:00:00 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpclassify.c Log Message: tests/lib/libc/gen/t_fpclassify: Enable long double tests. The necessary long double symbols should all be available now. If

CVS commit: src/tests/lib/libc/gen

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 17:53:43 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_floatunditf.c Log Message: tests/lib/libc/gen/t_floatunditf: Nix __HAVE_LONG_DOUBLE conditional. Conversion from uint64_t to long double should work on

CVS commit: src/tests/lib/libc/gen

2024-05-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 6 17:53:43 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_floatunditf.c Log Message: tests/lib/libc/gen/t_floatunditf: Nix __HAVE_LONG_DOUBLE conditional. Conversion from uint64_t to long double should work on

CVS commit: src/tests/lib/libc/gen

2024-04-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 13 14:02:51 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fmtcheck.c Log Message: tests/fmtcheck: show that fmtcheck does not support "%2$s" To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/lib/libc/gen

2024-04-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Apr 13 14:02:51 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fmtcheck.c Log Message: tests/fmtcheck: show that fmtcheck does not support "%2$s" To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/tests/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:16 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Test another overflow edge case. Related to PR lib/57573. XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a diff

CVS commit: src/tests/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:46:16 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Test another overflow edge case. Related to PR lib/57573. XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a diff

CVS commit: src/tests/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:45:03 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Expand tests and diagnostic outputs on failure. PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a

CVS commit: src/tests/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:45:03 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Expand tests and diagnostic outputs on failure. PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To generate a

CVS commit: src/tests/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:43:26 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Add xfail test for encoding overflow. >From Kyle Evans . PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To

CVS commit: src/tests/lib/libc/gen

2023-08-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 12 12:43:26 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_vis.c Log Message: vis(3) tests: Add xfail test for encoding overflow. >From Kyle Evans . PR lib/57573 XXX pullup-10 XXX pullup-9 XXX pullup-8 To

CVS commit: src/tests/lib/libc/gen

2023-08-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Aug 4 03:31:13 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo:sigfpe_int: Adjust for GCC12 Do not use constant 1 as numerator to raise integer division by zero. GCC >= 12 optimizes (1 / i)

CVS commit: src/tests/lib/libc/gen

2023-08-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Aug 4 03:31:13 UTC 2023 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo:sigfpe_int: Adjust for GCC12 Do not use constant 1 as numerator to raise integer division by zero. GCC >= 12 optimizes (1 / i)

CVS commit: src/tests/lib/libc/gen

2022-05-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat May 7 13:14:16 UTC 2022 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: Skip sigfpe_int also for sh3; integer division by zero is not trapped. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/tests/lib/libc/gen

2022-05-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat May 7 13:14:16 UTC 2022 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: Skip sigfpe_int also for sh3; integer division by zero is not trapped. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/tests/lib/libc/gen

2021-12-15 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Wed Dec 15 09:19:28 UTC 2021 Modified Files: src/tests/lib/libc/gen: isqemu.h Log Message: When running the tests under "qemu -accel kvm" on a Linux host, isQEMU_TCG() should return false. Fixes multiple test cases that were

CVS commit: src/tests/lib/libc/gen

2021-12-15 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Wed Dec 15 09:19:28 UTC 2021 Modified Files: src/tests/lib/libc/gen: isqemu.h Log Message: When running the tests under "qemu -accel kvm" on a Linux host, isQEMU_TCG() should return false. Fixes multiple test cases that were

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 22 15:09:16 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: undef a couple more. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 22 15:09:16 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: undef a couple more. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 20 14:28:29 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: Merge common code for the chdir cases (Piyush Sachdeva) I also deduplicated some more code To generate a diff of this

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 20 14:28:29 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: Merge common code for the chdir cases (Piyush Sachdeva) I also deduplicated some more code To generate a diff of this

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 15 13:59:16 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: Add missing test To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/posix_spawn/t_spawn.c

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 15 13:59:16 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: Add missing test To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/gen/posix_spawn/t_spawn.c

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Nov 7 18:05:37 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: Makefile Log Message: Fix linking for multi-source file tests, the second part of the tuple needs to be the C source file (not the base name) To

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Nov 7 18:05:37 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: Makefile Log Message: Fix linking for multi-source file tests, the second part of the tuple needs to be the C source file (not the base name) To

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 7 15:46:20 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: Makefile h_fileactions.c h_spawn.c h_spawnattr.c t_fileactions.c t_spawn.c t_spawnattr.c Added Files:

CVS commit: src/tests/lib/libc/gen/posix_spawn

2021-11-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 7 15:46:20 UTC 2021 Modified Files: src/tests/lib/libc/gen/posix_spawn: Makefile h_fileactions.c h_spawn.c h_spawnattr.c t_fileactions.c t_spawn.c t_spawnattr.c Added Files:

Re: CVS commit: src/tests/lib/libc/gen

2020-02-24 Thread Kamil Rytarowski
On 24.02.2020 20:32, Christos Zoulas wrote: > In article <20200221222550.325a6f...@cvs.netbsd.org>, > Kamil Rytarowski wrote: >> -=-=-=-=-=- >> >> Module Name: src >> Committed By:kamil >> Date:Fri Feb 21 22:25:50 UTC 2020 >> >> Modified Files: >>

Re: CVS commit: src/tests/lib/libc/gen

2020-02-24 Thread Christos Zoulas
In article <20200221222550.325a6f...@cvs.netbsd.org>, Kamil Rytarowski wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: kamil >Date: Fri Feb 21 22:25:50 UTC 2020 > >Modified Files: > src/tests/lib/libc/gen: t_siginfo.c > >Log Message: >Mark division by 0 as expected in

Re: CVS commit: src/tests/lib/libc/gen

2020-02-24 Thread Kamil Rytarowski
On 24.02.2020 20:29, Christos Zoulas wrote: > In article <20200222191457.87687f...@cvs.netbsd.org>, > Kamil Rytarowski wrote: >> -=-=-=-=-=- >> >> Module Name: src >> Committed By:kamil >> Date:Sat Feb 22 19:14:57 UTC 2020 >> >> Modified Files: >>

Re: CVS commit: src/tests/lib/libc/gen

2020-02-24 Thread Christos Zoulas
In article <20200222191457.87687f...@cvs.netbsd.org>, Kamil Rytarowski wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: kamil >Date: Sat Feb 22 19:14:57 UTC 2020 > >Modified Files: > src/tests/lib/libc/gen: Makefile > >Log Message: >Update t_siginfo.c build rules > >Add

Re: CVS commit: src/tests/lib/libc/gen

2020-02-21 Thread Kamil Rytarowski
On 21.02.2020 23:53, matthew green wrote: >> Disable ubsan instrumentation on the operation. > > +#if defined(__clang__) > +__attribute__((no_sanitize("undefined"))) > +#else > +__attribute__((no_sanitize_undefined)) > +#endif > > can we get a __disable_sanitizer or something i cdefs.h? > > >

re: CVS commit: src/tests/lib/libc/gen

2020-02-21 Thread matthew green
> Disable ubsan instrumentation on the operation. +#if defined(__clang__) +__attribute__((no_sanitize("undefined"))) +#else +__attribute__((no_sanitize_undefined)) +#endif can we get a __disable_sanitizer or something i cdefs.h? .mrg.

Re: CVS commit: src/tests/lib/libc/gen

2014-10-13 Thread Justin Cormack
On Sun, Oct 12, 2014 at 11:33 PM, Christos Zoulas chris...@netbsd.org wrote: Module Name:src Committed By: christos Date: Sun Oct 12 22:33:41 UTC 2014 Modified Files: src/tests/lib/libc/gen: t_fnmatch.c Log Message: You need double the number of backslashes in a

Re: CVS commit: src/tests/lib/libc/gen

2014-10-13 Thread Christos Zoulas
On Oct 13, 11:29am, jus...@specialbusservice.com (Justin Cormack) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/gen | Not sure about this. See | http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_03_05 | | The special characters '.', '*', '[', and '\' (period

Re: CVS commit: src/tests/lib/libc/gen

2014-10-13 Thread Christos Zoulas
On Oct 13, 2:23pm, jus...@specialbusservice.com (Justin Cormack) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/gen | You can have a ] by having it as the first character that is made explicit. | And if the / is not special then that is no problem either. Yes, '/' is the problem. | Let

Re: CVS commit: src/tests/lib/libc/gen

2014-10-13 Thread Justin Cormack
On Mon, Oct 13, 2014 at 2:26 PM, Christos Zoulas chris...@zoulas.com wrote: On Oct 13, 2:23pm, jus...@specialbusservice.com (Justin Cormack) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/gen | You can have a ] by having it as the first character that is made explicit

Re: CVS commit: src/tests/lib/libc/gen

2014-10-13 Thread Christos Zoulas
On Oct 14, 12:31am, jus...@specialbusservice.com (Justin Cormack) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/gen | Well also there is the bit thats says | | http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13_01 | | When pattern matching is used where

Re: CVS commit: src/tests/lib/libc/gen

2012-04-23 Thread Martin Husemann
On Sun, Apr 22, 2012 at 08:25:11PM +, Christos Zoulas wrote: There is no portable way to do this; sigbus according to ToG does not define what si_addr contains. I read it differently: The signal.h header shall define the siginfo_t type as a structure, which shall include at least the

Re: CVS commit: src/tests/lib/libc/gen (address alignment)

2012-04-21 Thread Jean-Yves Migeon
Le 21/04/12 14:50, Jean-Yves Migeon a écrit : The machine did not drop into ddb, it simply rebooted. Unfortunately it did not leave a core dump behind, so I don't have much to look at just yet. When I get home later today, I will try to get more info. BTW, this occurred while running the ATF

Re: CVS commit: src/tests/lib/libc/gen (address alignment)

2012-04-21 Thread Christoph Egger
On 21.04.12 19:38, Jean-Yves Migeon wrote: Le 21/04/12 16:31, Jean-Yves Migeon a écrit : Okay, thanks for the report. So this rules out Virtual Box, it seems to happen on native amd64 too. I am taking a look right now. This seems to be a bug in the trap handling code. The signal is caught

Re: CVS commit: src/tests/lib/libc/gen (address alignment)

2012-04-21 Thread Jean-Yves Migeon
Le 21/04/12 19:47, Christoph Egger a écrit : rip 0x0 and rsp 0x50202 look really abnormal to me. I'll have a look in FreeBSD, that's probably a group of exceptions that have to be handled differently. rip 0x0 often means that a function pointer has been called which is NULL. Christoph

Re: CVS commit: src/tests/lib/libc/gen (address alignment)

2012-04-20 Thread Paul Goyette
XXX I would appreciate if someone could test it under a real amd64 host with an up-to-date kernel, so I can reasonably assume that the culprit is Virtual Box and not our amd64 port (my test machine being off line I cannot do it myself). Results from other arches would be a plus too. I just

Re: CVS commit: src/tests/lib/libc/gen (address alignment)

2012-04-20 Thread Paul Goyette
On Fri, 20 Apr 2012, Paul Goyette wrote: The machine did not drop into ddb, it simply rebooted. Unfortunately it did not leave a core dump behind, so I don't have much to look at just yet. When I get home later today, I will try to get more info. BTW, this occurred while running the ATF