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

2025-04-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 22:51:58 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Include UCHAR_MAX in the range of inputs tested. It should definitely be included because it is important to distinguish it f

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

2025-04-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 23:01:51 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Factor loop out of macro-generated functions. No functional change intended. PR lib/58208: ctype(3) provides poor runtime fe

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

2025-03-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 23:01:51 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Factor loop out of macro-generated functions. No functional change intended. PR lib/58208: ctype(3) provides poor runtime fe

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 22:52:35 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Test some more code points with potential for EOF confusion. PR lib/58208: ctype(3) provides poor runtime feedback of abuse

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 23:30:34 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: More const is more better! No functional change intended -- we never intended to write to this array anyway. PR lib/58208: c

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 23:30:34 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: More const is more better! No functional change intended -- we never intended to write to this array anyway. PR lib/58208: c

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 22:51:58 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Include UCHAR_MAX in the range of inputs tested. It should definitely be included because it is important to distinguish it f

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 22:52:35 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Test some more code points with potential for EOF confusion. PR lib/58208: ctype(3) provides poor runtime feedback of abuse

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 19:24:03 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Test explicit setlocale(LC_CTYPE, "C"). And do so after other setlocales -- just in case this behaves differently from the de

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 19:24:03 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Test explicit setlocale(LC_CTYPE, "C"). And do so after other setlocales -- just in case this behaves differently from the de

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 18:54:10 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Fix tests on platforms where char is unsigned. PR lib/58208: ctype(3) provides poor runtime feedback of abuse To generate a

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

2025-03-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 28 18:54:10 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_ctype.c Log Message: t_ctype: Fix tests on platforms where char is unsigned. PR lib/58208: ctype(3) provides poor runtime feedback of abuse To generate a

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

2025-03-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 16 15:35:37 UTC 2025 Modified Files: src/tests/lib/libc/gen/posix_spawn: fa_spawn_utils.c fa_spawn_utils.h t_fileactions.c t_spawn.c t_spawnattr.c Log Message: tests/lib/libc/gen/posix_spawn: Spruce up a bit

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

2025-03-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 16 15:35:37 UTC 2025 Modified Files: src/tests/lib/libc/gen/posix_spawn: fa_spawn_utils.c fa_spawn_utils.h t_fileactions.c t_spawn.c t_spawnattr.c Log Message: tests/lib/libc/gen/posix_spawn: Spruce up a bit

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

2025-03-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 15 12:09:41 UTC 2025 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: t_spawn: Add missing dup2 in t_spawn_sig. Matches what h_execsig expects, and what t_execve_sig arranges: stdin is a pipe

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

2025-03-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 15 12:09:41 UTC 2025 Modified Files: src/tests/lib/libc/gen/posix_spawn: t_spawn.c Log Message: t_spawn: Add missing dup2 in t_spawn_sig. Matches what h_execsig expects, and what t_execve_sig arranges: stdin is a pipe

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

2025-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 13 09:40:03 UTC 2025 Added Files: src/tests/lib/libc/gen: Makefile.inc Log Message: execve(2), posix_spawn(2): Fix build of tests after previous. Forgot to add a file. PR kern/58091: after fork/execve or posix_spawn,

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

2025-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Mar 13 09:40:03 UTC 2025 Added Files: src/tests/lib/libc/gen: Makefile.inc Log Message: execve(2), posix_spawn(2): Fix build of tests after previous. Forgot to add a file. PR kern/58091: after fork/execve or posix_spawn,

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

2025-03-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 5 21:30:34 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_arc4random.c Log Message: t_arc4random: Verify arc4random works without fds. It must work in an empty chroot where /dev/urandom doesn't exist, and it must

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

2025-03-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 5 21:30:34 UTC 2025 Modified Files: src/tests/lib/libc/gen: t_arc4random.c Log Message: t_arc4random: Verify arc4random works without fds. It must work in an empty chroot where /dev/urandom doesn't exist, and it must

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

2024-10-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 28 21:48:55 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpsetround.c Log Message: fpsetround(3): Test that this doesn't flip on FTZ by accident. PR port-arm/58782: fpsetround flips all the other fpcsr bits on aa

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

2024-10-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 28 21:48:55 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_fpsetround.c Log Message: fpsetround(3): Test that this doesn't flip on FTZ by accident. PR port-arm/58782: fpsetround flips all the other fpcsr bits on aa

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

2024-09-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 4 03:33:29 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo:adraln: Brush up skip message for x86 Note that: 1. No data address is reported back for alignment check exception, as per I

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

2024-09-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 4 03:33:29 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo:adraln: Brush up skip message for x86 Note that: 1. No data address is reported back for alignment check exception, as per I

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

2024-09-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 4 02:20:49 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo:sigbus_adraln: Skip rather than expect_fail on x86 This is an architecture-defined behavior, not a failure. To generate a diff

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

2024-09-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 4 02:20:49 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo:sigbus_adraln: Skip rather than expect_fail on x86 This is an architecture-defined behavior, not a failure. To generate a diff

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

2024-06-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jun 29 06:58:23 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: sigbus_adraln: Skip for vax According to "VAX Architecture Handbook", misaligned access does not trap, although it has performa

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

2024-06-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jun 29 06:58:23 UTC 2024 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: t_siginfo: sigbus_adraln: Skip for vax According to "VAX Architecture Handbook", misaligned access does not trap, although it has performa

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 src/tests/lib/libc/

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 src/tests/lib/libc/

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 src/tests/lib/libc/g

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 src/tests/lib/libc/g

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 P

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 P

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 architecture

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 architecture

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 t

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 t

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 the

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 the

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 all

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 all

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 src/tests/lib/

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 src/tests/lib/

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 of

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 of

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 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 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: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 gener

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 gener

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) 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) 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 src/

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 src/

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 failin

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 failin

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 src/tests/lib/libc/gen/posix_spawn/t_spaw

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 src/tests/lib/libc/gen/posix_spawn/t_spaw

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 comm

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 comm

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 ge

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 ge

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: src/tests/lib/libc/gen/pos

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: src/tests/lib/libc/gen/pos

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: >> src/tests/lib/libc/ge

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 sigf

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: >> src/tests/lib/libc/ge

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 log

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

2014-10-13 Thread Justin Cormack
On Mon, Oct 13, 2014 at 2:26 PM, Christos Zoulas 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. > | And if the /

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

2014-10-13 Thread Justin Cormack
On Oct 13, 2014 2:13 PM, "Christos Zoulas" wrote: > > 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/009695

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 probl

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 '.'

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 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 pattern, sinc

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

2012-04-23 Thread Jean-Yves Migeon
On Mon, 23 Apr 2012 19:02:04 +0100, David Laight wrote: On Mon, Apr 23, 2012 at 10:09:09AM +0200, Jean-Yves Migeon wrote: > > But, as has been pointed out before, code in libc will generate > alignment traps - because it is faster that way. I did not know -- care to give an example? #AC excepti

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

2012-04-23 Thread David Laight
On Mon, Apr 23, 2012 at 10:09:09AM +0200, Jean-Yves Migeon wrote: > > > > But, as has been pointed out before, code in libc will generate > > alignment traps - because it is faster that way. > > I did not know -- care to give an example? #AC exception from amd64 was > not working, so I would gues

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

2012-04-23 Thread Christos Zoulas
On Apr 23, 3:25pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/gen | On Mon, Apr 23, 2012 at 09:05:25AM -0400, Christos Zoulas wrote: | > Keep reading and then it is the following table: | | *sigh* | | And then: | |For some implementati

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

2012-04-23 Thread Martin Husemann
On Mon, Apr 23, 2012 at 09:05:25AM -0400, Christos Zoulas wrote: > Keep reading and then it is the following table: *sigh* And then: For some implementations, the value of si_addr may be inaccurate. Can we just bail and use that as an excuse? The value on amd64 seems to be completely unrelat

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

2012-04-23 Thread Christos Zoulas
On Apr 23, 9:48am, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/gen | 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.

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

2012-04-23 Thread Martin Husemann
On Mon, Apr 23, 2012 at 10:13:09AM +0200, Jean-Yves Migeon wrote: > Careful here; Some Other Operating Systems report data address fault > with si_addr + SIGBUS, not instruction fault. Maybe, but we need to define what NetBSD should do and test for that. I have not checked what NetBSD/amd64 does

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

2012-04-23 Thread Jean-Yves Migeon
Le 23/04/12 09:48, Martin Husemann a écrit : 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 header shall define the siginfo_t type as a structure,

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

2012-04-23 Thread Jean-Yves Migeon
Le 22/04/12 18:38, David Laight a écrit : > On Sun, Apr 22, 2012 at 02:22:30PM +0100, Jean-Yves Migeon wrote: >> >> Hmm, siginfo(2) states the following: >> >> For SIGBUS and SIGSEGV the siginfo structure contains the >> following additional members: >> >> void *si_addr; >>

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 header shall define the siginfo_t type as a structure, which shall include at least the following me

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

2012-04-22 Thread Christos Zoulas
In article <20120422085226.787f717...@cvs.netbsd.org>, Martin Husemann wrote: >Module Name: src >Committed By: martin >Date: Sun Apr 22 08:52:26 UTC 2012 > >Modified Files: > src/tests/lib/libc/gen: t_siginfo.c > >Log Message: >Do not compare si_addr (address of faulting instruct

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

2012-04-22 Thread David Laight
On Sun, Apr 22, 2012 at 02:22:30PM +0100, Jean-Yves Migeon wrote: > > Hmm, siginfo(2) states the following: > > For SIGBUS and SIGSEGV the siginfo structure contains the > following additional members: > >void *si_addr; >int si_trap; > > si_addr contains the a

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

2012-04-22 Thread Jean-Yves Migeon
On Sun, 22 Apr 2012 08:52:26 +, Martin Husemann wrote: Module Name:src Committed By: martin Date: Sun Apr 22 08:52:26 UTC 2012 Modified Files: src/tests/lib/libc/gen: t_siginfo.c Log Message: Do not compare si_addr (address of faulting instruction) against the unalig

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. > > Chr

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 si

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

2012-04-21 Thread Jean-Yves Migeon
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 correctly (it reaches T_ALIGNFLT|T_USER in trap

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 tes

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

2012-04-21 Thread Jean-Yves Migeon
On Fri, 20 Apr 2012 15:33:05 -0700 (PDT), Paul Goyette wrote: On Fri, 20 Apr 2012, Paul Goyette wrote: 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 m

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 tes

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

2012-04-20 Thread Paul Goyette
On Fri, 20 Apr 2012, Paul Goyette wrote: 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 oth

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 up

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

2010-12-31 Thread David Holland
On Thu, Dec 30, 2010 at 10:21:53PM +, Antti Kantee wrote: > Log Message: > Test is no longer expected to hang. > > PR lib/44248 closed when test associate with PR fails ==> brick dholland The bug was fixed, so I closed the PR. I don't have time to spend an hour or two running tests every