| History log of /src/tests/include |
| Revision | Date | Author | Comments |
| 1.11 | 01-Apr-2025 |
riastradh | stddef.h: New nullptr_t, unreachable().
Define __STDC_VERSION_STDDEF_H__ while here.
Order content according to standard, and quote the relevant clauses, to make it easier to audit.
PR standards/58605: C23: __STDC_*_H__ versions PR standards/58620: C23: <stddef.h> unreachable() macro PR standards/58621: C23: <stddef.h> nullptr_t
|
| 1.10 | 26-May-2011 |
joerg | branches: 1.10.56; Default to -Wno-sign-compare -Wno-pointer-sign for clang. Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
|
| 1.9 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.8 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.7 | 03-May-2011 |
jruoho | Some naive tests for the bswap(3) family.
|
| 1.6 | 01-May-2011 |
jruoho | Verify PR standards/44921.
|
| 1.5 | 10-Apr-2011 |
jruoho | Formally verify PR standards/44777.
|
| 1.4 | 10-Apr-2011 |
jruoho | Verify that PR standards/21401 is no longer an issue.
|
| 1.3 | 10-Apr-2011 |
jruoho | Add tests for PR standards/44847 and PR standards/18067.
|
| 1.2 | 30-Mar-2011 |
jruoho | Add some basic tests for fsync(2) and <paths.h>.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.10.56.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.1 | 03-Nov-2010 |
christos | add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing how many bugs this found :-)
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.4 | 25-Mar-2012 |
joerg | Use array access
|
| 1.3 | 07-Nov-2010 |
jmmv | branches: 1.3.6; Adjusts tests after import of atf-0.12:
- The use.fs property is gone. - Mark the tests/fs/t_create:attrs test as broken when using the default unprivileged-user:_atf setting. This probably deserves a fix somehow but I'm not sure at this point.
|
| 1.2 | 03-Nov-2010 |
christos | add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing how many bugs this found :-)
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.3.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.2 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.1 | 03-May-2011 |
jruoho | Some naive tests for the bswap(3) family.
|
| 1.2 | 08-Mar-2020 |
mgorny | PR standards/44921: Add errno consts for robust mutexes
Add the two missing errno.h constants: EOWNERDEAD and ENOTRECOVERABLE. While technically they're used for robust mutexes which we do not support at the moment, they are listed in POSIX and used by libc++. While libc++ can be made to build without it, it just locally redefines the values then, so we may as well define them globally.
|
| 1.1 | 01-May-2011 |
jruoho | branches: 1.1.44; Verify PR standards/44921.
|
| 1.1.44.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.1 | 10-Apr-2011 |
jruoho | Verify that PR standards/21401 is no longer an issue.
|
| 1.3 | 19-Oct-2013 |
christos | initialize variables
|
| 1.2 | 18-Jul-2010 |
jmmv | branches: 1.2.6; 1.2.12; Remove the ATF_CHECK calls I added during the conversion of this test to atf. They break on i386 (because the test was conceptually broken anyway); reported by pooka@ in private mail.
Now... the current test does not actually check anything AFAICT... but this is how it was before.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.2.12.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.2.6.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.2 | 04-Apr-2011 |
jruoho | Add a test case for the POSIX (minimum) limits. Written by Stathis Kamperis.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.2 | 25-Apr-2011 |
njoly | Switch from atf_tc_fail to atf_tc_fail_nonfatal to report all missing defines, not only the first one.
|
| 1.1 | 10-Apr-2011 |
jruoho | Formally verify PR standards/44777.
|
| 1.19 | 05-Aug-2023 |
riastradh | tests/include/t_paths: Test all paths, nonfatally.
This way a single failure doesn't suppress failure reports for all the other paths to test.
Omit some needless blank lines while here.
|
| 1.18 | 05-Aug-2023 |
riastradh | tests/include/t_paths: /dev/ksyms requires root.
|
| 1.17 | 03-Feb-2019 |
mrg | - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
| 1.16 | 07-May-2015 |
pgoyette | branches: 1.16.16; Use correcet variable name when printing the error code.
|
| 1.15 | 07-May-2015 |
pgoyette | Don't fail if open() of sysmon devices returns ENODEV. This can occur if sysmon subcomponents are not included in the kernel and autoloading of modules is not allowed or not supported.
|
| 1.14 | 04-Nov-2014 |
justin | PR misc/49356 remove unnecessary references to atf-c/config.h
The function included via this header is not used and is removed in later versions of atf, so let us avoid it.
|
| 1.13 | 09-Feb-2014 |
jmmv | Use compiler builtins instead of atf_arch and atf_machine.
The atf_arch and atf_machine configuration variables were removed from atf-0.19 without me realizing that some tests were querying them directly.
Instead of reintroducing those variables, just rely on compiler builtins as many other tests already do.
Should fix PR bin/48582.
|
| 1.12 | 03-Jun-2012 |
joerg | branches: 1.12.2; Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to depend on new devname_r(3) as heart. Add /dev/pts magic directly to devname(3). While it can lead to returning non-existing paths, the behavior is more consistent that way. Drop caching layer in devname(3), it doesn't buy anything for the common case of having access to the database. Teach devname(3) proper fallback behavior of scanning /dev. Create both old-style and new-style database for now in /etc/rc.d/sysdb.
|
| 1.11 | 06-Nov-2011 |
jruoho | branches: 1.11.2; Skip the test on sparc and point to PR port-sparc/45580.
|
| 1.10 | 05-Nov-2011 |
jruoho | Add printfs to see where TNF's qemu/sparc fails.
|
| 1.9 | 27-Sep-2011 |
jruoho | branches: 1.9.2; Define _PATH_CPUCTL.
|
| 1.8 | 12-Aug-2011 |
riastradh | Need root for /dev/power.
|
| 1.7 | 23-Jul-2011 |
hannken | putter_fop_stat(): set st_mode to S_IFCHR.
Fixes PR #44807: something broken in stat(2).
|
| 1.6 | 11-Jul-2011 |
njoly | Convert some more ATF_REQUIRE calls to ATF_CHECK.
|
| 1.5 | 04-Apr-2011 |
jruoho | Mark this again as expected failure.
|
| 1.4 | 30-Mar-2011 |
jruoho | Remove atf_tc_expect_fail(). Should be fixed.
|
| 1.3 | 30-Mar-2011 |
jruoho | Adjust for _PATH_CONSOLE, pointed out by njoly@.
|
| 1.2 | 30-Mar-2011 |
jruoho | Another proof that even the naive test cases are worth it; expect a failure with fstat(2) and bpf(4), PR lib/44807.
|
| 1.1 | 30-Mar-2011 |
jruoho | Add some basic tests for fsync(2) and <paths.h>.
|
| 1.9.2.3 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.9.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.9.2.1 | 10-Nov-2011 |
yamt | sync with head
|
| 1.11.2.1 | 23-Jun-2012 |
riz | Pull up following revision(s) (requested by joerg in ticket #328): lib/libc/gen/devname.c: revision 1.22 distrib/sparc64/instfs/dot.profile: revision 1.7 distrib/i386/cdroms/install.sh: revision 1.3 tests/lib/libcurses/director/director.c: revision 1.10 lib/libc/include/reentrant.h: revision 1.15 distrib/amd64/cdroms/install.sh: revision 1.3 tests/include/t_paths.c: revision 1.12 share/man/man7/hier.7: revision 1.101 etc/rc.d/sysdb: revision 1.24 include/stdlib.h: revision 1.99 tests/lib/libcurses/Makefile: revision 1.3 distrib/sparc64/cdroms/installcd/install.sh: revision 1.3 distrib/i386/cdroms/Makefile.cdrom: revision 1.27 lib/libc/gen/ttyname.c: revision 1.25 usr.bin/tic/Makefile: revision 1.2 tools/compat/Makefile: revision 1.57 lib/libterminfo/compile.c: revision 1.7 lib/libc/gen/ttyname.c: revision 1.26 lib/libterminfo/compile.c: revision 1.8 tools/compat/Makefile: revision 1.59 tools/compat/cdbw.h: revision 1.1 distrib/i386/installimage/install.sh: revision 1.2 lib/libc/include/namespace.h: revision 1.154 usr.bin/tic/tic.c: revision 1.13 usr.bin/tic/tic.c: revision 1.14 usr.bin/tic/tic.c: revision 1.15 distrib/sets/lists/base/mi: revision 1.996 usr.bin/tic/tic.c: revision 1.16 usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13 usr.bin/tic/tic.c: revision 1.17 usr.bin/tic/tic.c: revision 1.18 tools/compat/cdbr.h: revision 1.1 distrib/sparc64/instfs/list: revision 1.25 usr.bin/tic/tic.c: revision 1.19 lib/libc/cdb/cdbw.c: revision 1.4 lib/libc/cdb/cdbw.3: revision 1.4 lib/libc/cdb/cdbw.3: revision 1.5 share/terminfo/Makefile: revision 1.3 usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29 usr.sbin/dev_mkdb/Makefile: revision 1.8 lib/libc/gen/ttyname.3: revision 1.23 lib/libc/gen/ttyname.3: revision 1.24 lib/libc/cdb/cdbr.c: revision 1.3 include/cdbw.h: revision 1.2 distrib/sparc64/cdroms/installcd/Makefile: revision 1.15 lib/libc/gen/devname.3: revision 1.12 tools/compat/compat_defs.h: revision 1.85 tools/compat/compat_defs.h: revision 1.86 lib/libterminfo/term_private.h: revision 1.10 lib/libterminfo/term.c: revision 1.14 usr.bin/tic/tic.1: revision 1.10 lib/libterminfo/term.c: revision 1.15 lib/libterminfo/Makefile.hash: revision 1.5 lib/libterminfo/term.c: revision 1.16 distrib/amd64/installimage/install.sh: revision 1.2 share/man/man5/rc.conf.5: revision 1.152 distrib/sets/lists/tests/mi: revision 1.472 distrib/amd64/cdroms/Makefile.cdrom: revision 1.7 include/paths.h: revision 1.41 bin/ps/ps.1: revision 1.101 lib/libterminfo/terminfo.5.in: revision 1.16 usr.bin/tic/tic.c: revision 1.20 lib/libterminfo/terminfo.5.in: revision 1.17 Prefer __printflike. Use queue(3) Replace linear lookup with hash table, reducing runtime by 60%. Use e* from util.h. One more strdup -> estrdup. Maintain nalias and nterm on the fly. Add void for ttyslot prototype. Use memcmp in place of strncmp, since length is known to no longer than either of the arguments. Fix a number of memory leaks. Keep final loop of the cleanup in tic(1) under #ifdef __VALGRIND__ though. Add __predict_true / __predict_false definitions. Add a special seeder for cdbw_output that gives stable results. Hook up cdbw(3) for the tool build. Prototype for cdbw_stable_seeder. Provide a usable thr_once for !_REENTRANT Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to depend on new devname_r(3) as heart. Add /dev/pts magic directly to devname(3). While it can lead to returning non-existing paths, the behavior is more consistent that way. Drop caching layer in devname(3), it doesn't buy anything for the common case of having access to the database. Teach devname(3) proper fallback behavior of scanning /dev. Create both old-style and new-style database for now in /etc/rc.d/sysdb. Switch terminfo(3) to cdb(5). Fix typos. Make Alan Barrett happy and add (). Add cdbr(3) support to tools/compat. Bump date for previous. Relax consistency to make it possible to match valid entries. Prefix devname's buffer with /dev/ as ttyname is supposed to return the full path. Reported by Dave Huang.
|
| 1.12.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.16.16.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.1 | 01-Apr-2025 |
riastradh | branches: 1.1.4; stddef.h: New nullptr_t, unreachable().
Define __STDC_VERSION_STDDEF_H__ while here.
Order content according to standard, and quote the relevant clauses, to make it easier to audit.
PR standards/58605: C23: __STDC_*_H__ versions PR standards/58620: C23: <stddef.h> unreachable() macro PR standards/58621: C23: <stddef.h> nullptr_t
|
| 1.1.4.2 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.1.4.1 | 01-Apr-2025 |
perseant | file t_stddef.c was added on branch perseant-exfatfs on 2025-08-02 05:58:00 +0000
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.3 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.2 | 10-Apr-2011 |
jruoho | Fix comments.
|
| 1.1 | 10-Apr-2011 |
jruoho | Add tests for PR standards/44847 and PR standards/18067.
|
| 1.1 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.1 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.17 | 01-Nov-2024 |
riastradh | strings.h: Spruce up for POSIX 2024.
1. Add ffsl, ffsll. 2. Hide bcmp, bcopy, bzero, index, rindex for POSIX>=2024. 3. Expose ffs only for NetBSD or POSIX>=2008 with XSI option. 4. Hide popcount* NetBSD extensions for any POSIX. 5. Sprinkle __constfunc on ffs*.
Add tests for ffs/ffsl/ffsll in tests/include/sys/t_bitops next to ffs32/ffs64 for convenience.
XXX Still missing strcasecmp_l, strncasecmp_l, and locale_t.
PR lib/58802: missing ffsl(), ffsll() functions from POSIX 2024
|
| 1.16 | 31-May-2020 |
kamil | branches: 1.16.8; Mask NULL + 0 LLVM UBSan reports in the ATF test: t_pslist.c
Pass -fno-delete-null-pointer-checks for Clang for the MKSANITIZER/MKLIBCSANITIZER build
|
| 1.15 | 01-Mar-2020 |
christos | Centralize the base rump libraries into a variable used by all the other Makefiles so that we can make changes to it centrally as needed and have less mess. Fixes the sun2 build that needs rumpvfs after librump after the latest changes.
|
| 1.14 | 13-May-2019 |
bad | Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed after moving rump's mainbus from rumpdev to rumpkern.
Produces the same atf-run results as before.
|
| 1.13 | 02-Oct-2017 |
pgoyette | branches: 1.13.4; Add a new minimalistic test for LIST_MOVE to verify that the list's first entry's prev pointer correctly points to the listhead.
This test will fail until a fix for LIST_MOVE is checked in (soon).
|
| 1.12 | 08-Aug-2016 |
pgoyette | branches: 1.12.6; We now need librumpdev to resolve rumpns_config_cfdriver_attach which is now used in a bunch of network modules/components
|
| 1.11 | 09-Apr-2016 |
riastradh | Introduce pserialize-safe linked lists.
These are like LIST_* from queue(3), but issue the appropriate memory barriers for pserialize readers and writers.
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2016/04/03/msg020365.html
|
| 1.10 | 08-Apr-2016 |
riastradh | Make this list diff- and sort-friendlier.
No functional change.
|
| 1.9 | 23-Jan-2016 |
christos | Define _KERNTYPES for things that need it.
|
| 1.8 | 22-Jun-2015 |
matt | Don't build tests that depend on RUMP if BSD_MK_COMPAT_FILE is defined.
|
| 1.7 | 08-Aug-2012 |
christos | Exclude tests that use rump
|
| 1.6 | 18-Mar-2012 |
christos | test the __type macros
|
| 1.5 | 07-Jul-2011 |
jruoho | branches: 1.5.2; Move the 'syscall/t_cmsg' test to 'include/sys/t_socket'.
|
| 1.4 | 05-May-2011 |
jruoho | Try to mirror the real source with the test directory structure (otherwise the latter carries a risk of becoming a difficult mess to manage.)
|
| 1.3 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.2 | 19-Mar-2011 |
jruoho | Add a simple test file for <sys/bitops.h>. For now, only ilog2(3) is tested.
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.5.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.5.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.12.6.1 | 02-Oct-2017 |
martin | Pull up following revision(s) (requested by pgoyette in ticket #296): tests/include/sys/t_list.c: revision 1.1 tests/include/sys/t_list.c: revision 1.2 tests/include/sys/Makefile: revision 1.13 share/man/man3/queue.3: revision 1.59 distrib/sets/lists/debug/mi: revision 1.226 sys/sys/queue.h: revision 1.71 distrib/sets/lists/tests/mi: revision 1.764 Fix the LIST_MOVE macro to properly update the back-pointer of the first entry in the list.
Note that the signature of LIST_MOVE() macro also changes (it grew an additional argument). This should not require a kernel version bump since nothing appears to use LIST_MOVE() other than the recently added atf test.
Update for new signature for LIST_MOVE()
Add a new minimalistic test for LIST_MOVE to verify that the list's first entry's prev pointer correctly points to the listhead. This test will fail until a fix for LIST_MOVE is checked in (soon).
Add new LIST_MOVE test to sets list.
Update recently-added test to adapt to new signature of LIST_MOVE()
add t_list test.
|
| 1.13.4.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.13.4.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.16.8.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.22 | 01-Nov-2024 |
riastradh | strings.h: Spruce up for POSIX 2024.
1. Add ffsl, ffsll. 2. Hide bcmp, bcopy, bzero, index, rindex for POSIX>=2024. 3. Expose ffs only for NetBSD or POSIX>=2008 with XSI option. 4. Hide popcount* NetBSD extensions for any POSIX. 5. Sprinkle __constfunc on ffs*.
Add tests for ffs/ffsl/ffsll in tests/include/sys/t_bitops next to ffs32/ffs64 for convenience.
XXX Still missing strcasecmp_l, strncasecmp_l, and locale_t.
PR lib/58802: missing ffsl(), ffsll() functions from POSIX 2024
|
| 1.21 | 13-Jul-2023 |
riastradh | branches: 1.21.2; t_bitops: Show the bad results on failure.
|
| 1.20 | 25-Jul-2018 |
kamil | Avoid undefined behavior in an ATF test: t_bitops
Do not change the signedness bit with a left shift operation. Switch to unsigned integer to prevent this.
t_bitops.c:189:9, left shift of 1 by 31 places cannot be represented in type 'int'
Detected with micro-UBSan in the user mode.
|
| 1.19 | 21-Mar-2015 |
isaki | branches: 1.19.14; 1.19.16; one more white space -> tab.
|
| 1.18 | 21-Mar-2015 |
isaki | Rewrite ilog2's test. PR lib/49745. - Reorganize ilog2_basic to ilog2_32bit, ilog2_64bit and ilog2_const. ilog2_const is compile-time test for __builtin_constant_p() part of current ilog2() implementation. - Remove fully meaningless ilog2_log2. So this part of PR misc/44767 is no longer present.
|
| 1.17 | 14-Mar-2015 |
isaki | white space -> tab.
|
| 1.16 | 07-Dec-2012 |
christos | use __BITMAP_TYPE
|
| 1.15 | 04-Dec-2012 |
jruoho | Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs.
|
| 1.14 | 31-Oct-2011 |
pgoyette | branches: 1.14.2; 1.14.8; No need to keep on trying when this fails in the expected manner. We really don't need to have 32k failures.
OK jruoho@
|
| 1.13 | 02-Oct-2011 |
christos | remove stray underscore.
|
| 1.12 | 01-Oct-2011 |
christos | disable test on the vax until we fix it.
|
| 1.11 | 30-Sep-2011 |
jruoho | Add expected failures for Qemu.
|
| 1.10 | 29-Aug-2011 |
jruoho | Remove some cruft that is no longer needed.
|
| 1.9 | 29-Aug-2011 |
jruoho | Remove Xfails that are related to the infamous qemu/amd64 floating point bugs. It appears to be quite difficult to identify the exact Qemu version and setup. These do not fail on the TNF's qemu/amd64 setup, which can be taken as a reference point for expected failures.
|
| 1.8 | 07-Jul-2011 |
jruoho | Improve the QEMU/amd64 detection.
|
| 1.7 | 30-Mar-2011 |
jruoho | Add missing __RCSID(3).
|
| 1.6 | 25-Mar-2011 |
jruoho | Do not skip the QEMU bugs but instead mark these as expected failures.
|
| 1.5 | 25-Mar-2011 |
jruoho | Bluntly skip the tests that fail under QEMU. XXX: system(3) is used for this?
wnCVS: ----------------------------------------------------------------------
|
| 1.4 | 25-Mar-2011 |
jruoho | Even these naive test cases caught one (QEMU?) bug; comment PR # 44767.
|
| 1.3 | 24-Mar-2011 |
jruoho | Add also a basic, naive, test for fast_divide32(3).
|
| 1.2 | 24-Mar-2011 |
jruoho | Add some naive test cases for the ffs32(3) family of functions.
|
| 1.1 | 19-Mar-2011 |
jruoho | Add a simple test file for <sys/bitops.h>. For now, only ilog2(3) is tested.
|
| 1.14.8.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.14.2.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.19.16.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.19.14.1 | 28-Jul-2018 |
pgoyette | Sync with HEAD
|
| 1.21.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.1 | 17-Jul-2010 |
jmmv | Convert the include tests to atf. Initial work from the GSoC 2008 project by Lukasz Strzygowski.
|
| 1.4 | 16-Mar-2016 |
mrg | rework to avoid new GCC 5.3 errors and improve readability
|
| 1.3 | 05-Sep-2013 |
gsutre | Fix two tests for typefit: constants larger than LLONG_MAX do not fit in a signed long long.
|
| 1.2 | 23-Mar-2012 |
matt | branches: 1.2.2; 1.2.4; Use SCHAR_{MIN,MAX} for signed char, not CHAR_* since not char are signed.
|
| 1.1 | 18-Mar-2012 |
christos | test the __type macros
|
| 1.2.4.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.2.2.3 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.2.2.2 | 17-Apr-2012 |
yamt | sync with head
|
| 1.2.2.1 | 23-Mar-2012 |
yamt | file t_cdefs.c was added on branch yamt-pagecache on 2012-04-17 00:09:04 +0000
|
| 1.3 | 10-Jul-2024 |
rillig | tests/sys/queue.h: fix mismatch between '=' and '=='
|
| 1.2 | 02-Oct-2017 |
pgoyette | branches: 1.2.2; 1.2.18; Update recently-added test to adapt to new signature of LIST_MOVE()
|
| 1.1 | 02-Oct-2017 |
pgoyette | Add a new minimalistic test for LIST_MOVE to verify that the list's first entry's prev pointer correctly points to the listhead.
This test will fail until a fix for LIST_MOVE is checked in (soon).
|
| 1.2.18.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.2.2.2 | 02-Oct-2017 |
martin | Pull up following revision(s) (requested by pgoyette in ticket #296): tests/include/sys/t_list.c: revision 1.1 tests/include/sys/t_list.c: revision 1.2 tests/include/sys/Makefile: revision 1.13 share/man/man3/queue.3: revision 1.59 distrib/sets/lists/debug/mi: revision 1.226 sys/sys/queue.h: revision 1.71 distrib/sets/lists/tests/mi: revision 1.764 Fix the LIST_MOVE macro to properly update the back-pointer of the first entry in the list.
Note that the signature of LIST_MOVE() macro also changes (it grew an additional argument). This should not require a kernel version bump since nothing appears to use LIST_MOVE() other than the recently added atf test.
Update for new signature for LIST_MOVE()
Add a new minimalistic test for LIST_MOVE to verify that the list's first entry's prev pointer correctly points to the listhead. This test will fail until a fix for LIST_MOVE is checked in (soon).
Add new LIST_MOVE test to sets list.
Update recently-added test to adapt to new signature of LIST_MOVE()
add t_list test.
|
| 1.2.2.1 | 02-Oct-2017 |
martin | file t_list.c was added on branch netbsd-8 on 2017-10-02 13:21:40 +0000
|
| 1.2 | 01-Dec-2019 |
riastradh | Adapt <sys/pslist.h> to use atomic_load/store_*.
Changes:
- membar_producer(); *p = v;
=>
atomic_store_release(p, v);
(Effectively like using membar_exit instead of membar_producer, which is what we should have been doing all along so that stores by the `reader' can't affect earlier loads by the writer, such as KASSERT(p->refcnt == 0) in the writer and atomic_inc(&p->refcnt) in the reader.)
- p = *pp; if (p != NULL) membar_datadep_consumer();
=>
p = atomic_load_consume(pp);
(Only makes a difference on DEC Alpha. As long as lists generally have at least one element, this is not likely to make a big difference, and keeps the code simpler and clearer.)
No other functional change intended. While here, annotate each synchronizing load and store with its counterpart in a comment.
|
| 1.1 | 09-Apr-2016 |
riastradh | branches: 1.1.16; Introduce pserialize-safe linked lists.
These are like LIST_* from queue(3), but issue the appropriate memory barriers for pserialize readers and writers.
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2016/04/03/msg020365.html
|
| 1.1.16.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.6 | 06-Oct-2019 |
mrg | use memcpy() for non C-strings.
|
| 1.5 | 13-Jan-2017 |
christos | branches: 1.5.14; Don't play with "../.." in includes for h_macros.h; deal with it centrally. Minor fixes.
|
| 1.4 | 27-Feb-2015 |
martin | branches: 1.4.2; 2 seconds is too small as timeout on slow machines, bump to 10 (my hppa needs ~5).
|
| 1.3 | 19-Oct-2013 |
christos | fix unused variable warnings
|
| 1.2 | 05-Sep-2013 |
pooka | socket(-1, SOCK_CLOEXEC, 0); followed by the process exiting (i.e. fd slot does not get initiailized before fd_free()) cases a diagnostic kernel panic.
|
| 1.1 | 07-Jul-2011 |
jruoho | branches: 1.1.2; 1.1.8; Move the 'syscall/t_cmsg' test to 'include/sys/t_socket'.
|
| 1.1.8.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.1.2.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.4.2.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.5.14.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.1 | 05-May-2011 |
jruoho | Try to mirror the real source with the test directory structure (otherwise the latter carries a risk of becoming a difficult mess to manage.)
|
| 1.5 | 25-Jul-2018 |
kamil | Avoid undefined behavior in an ATF test: t_types
Replace UB with implementation defined logic to check whether ssize_t can wrap to a negative number.
t_types.c:63:7, signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Detected with micro-UBSan in the user mode.
|
| 1.4 | 18-Mar-2012 |
jruoho | branches: 1.4.30; 1.4.32; To be on the safe side, use the category/number notation when referring to PRs (otherwise third-party sed-scripts might miss the references). Also remove white-space.
|
| 1.3 | 17-Mar-2012 |
christos | this does not fail anymore
|
| 1.2 | 11-Jul-2011 |
njoly | branches: 1.2.2; Make types_signed/types_unsigned testcases use ATF_CHECK instead of ATF_REQUIRE.
|
| 1.1 | 05-May-2011 |
jruoho | Follow the real tree with the test directory structure.
|
| 1.2.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.4.32.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.4.30.1 | 28-Jul-2018 |
pgoyette | Sync with HEAD
|