History log of /src/tests/lib/libc/string |
Revision | Date | Author | Comments |
1.2 | 13-Jul-2010 |
jmmv | Get rid of static Atffiles and let bsd.test.mk generate them on the fly.
|
1.1 | 21-Jul-2009 |
joerg | Add popcount(3) and the long and long long version. Name is inspired by gnulib, the implementation goes back to the AMD Software Optimizer guide. A number of platforms will want to replace the C version with assembler code using native instructions.
|
1.15 | 08-Aug-2023 |
mrg | introduce new GCC 12 warning disables and use them in a few places
this introduces 4 new warning disable flags:
CC_WNO_MISSING_TEMPLATE_KEYWORD CC_WNO_REGISTER CC_WNO_STRINGOP_OVERREAD CC_WNO_ARRAY_BOUNDS
and documents them in README.warnings. of these, the string op and array bounds are both problematic (real bugs) and also spurious (not real bugs), and the other 2 are mostly temporary for older 3rd party code.
add some new uses of CC_WNO_STRINGOP_OVERFLOW.
fix m68k build for gallium and GCC 12.
|
1.14 | 03-Jun-2023 |
lukem | bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
1.13 | 30-Jan-2023 |
christos | PR/57205: Dag-Erling Sm�rgrav: Add tests strchrnul(3), fix strchr pasto from strlen.
|
1.12 | 19-Dec-2019 |
macallan | disable string op warnings for t_strcat now this builds on macppc with gcc 8.3 from riastradh@
|
1.11 | 15-Oct-2018 |
christos | simple memmem test to show buffer overrun.
|
1.10 | 26-May-2017 |
perseant | branches: 1.10.8; 1.10.10; Add simple expect-fail test case for strcoll(3)
|
1.9 | 23-Jun-2014 |
shm | Add bm(3) tests
|
1.8 | 21-Nov-2011 |
joerg | branches: 1.8.6; 1.8.16; Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and wcsspn.
|
1.7 | 07-Jul-2011 |
jruoho | branches: 1.7.2; Split out the string tests from t_string.c for consistency.
|
1.6 | 03-Jun-2011 |
jruoho | Add some fundamental checks for memset(3). Prompted by a recent nasty bug in the Google Android libc.
|
1.5 | 09-May-2011 |
jruoho | branches: 1.5.2; Few basic tests for strerror(3).
|
1.4 | 26-Dec-2010 |
pgoyette | Migrate the last of the libc/string/ tests from regress to atf, and re-enable building of t_popcount
|
1.3 | 25-Dec-2010 |
pgoyette | Migrate J.T.Conklin's public-domain str* tests from regress to atf.
While here, do some clean-up and knf.
|
1.2 | 26-Feb-2010 |
martin | Disable population count test for now, please re-enable once PR toolchain/42885 is fixed
|
1.1 | 21-Jul-2009 |
joerg | Add popcount(3) and the long and long long version. Name is inspired by gnulib, the implementation goes back to the AMD Software Optimizer guide. A number of platforms will want to replace the C version with assembler code using native instructions.
|
1.5.2.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.7.2.1 | 17-Apr-2012 |
yamt | sync with head
|
1.8.16.1 | 10-Aug-2014 |
tls | Rebase.
|
1.8.6.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.10.10.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.10.10.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.10.8.1 | 20-Oct-2018 |
pgoyette | Sync with head
|
1.3 | 11-Jul-2024 |
kre | Correct a thinko in previous...
|
1.2 | 11-Jul-2024 |
kre | More ATF_CHECK() (etc) change fallout.
Really, developers making infrastructure changes like this should do a full build before committing the change, and handle any fallout from the change.
|
1.1 | 23-Jun-2014 |
shm | branches: 1.1.2; 1.1.6; 1.1.40; Add bm(3) tests
|
1.1.40.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
1.1.6.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.1.6.1 | 23-Jun-2014 |
tls | file t_bm.c was added on branch tls-maxphys on 2014-08-20 00:04:50 +0000
|
1.1.2.2 | 10-Aug-2014 |
tls | Rebase.
|
1.1.2.1 | 23-Jun-2014 |
tls | file t_bm.c was added on branch tls-earlyentropy on 2014-08-10 06:57:21 +0000
|
1.3 | 06-Apr-2012 |
jruoho | Adjust.
|
1.2 | 14-Jul-2011 |
jruoho | branches: 1.2.2; Add few simple test cases.
|
1.1 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.2.2.1 | 17-Apr-2012 |
yamt | sync with head
|
1.6 | 11-Jan-2017 |
christos | PR/51823: Ngie Cooper: Add output diagnostic if memcmp of the md5 string fails
|
1.5 | 17-Mar-2013 |
christos | branches: 1.5.12; check return values
|
1.4 | 14-Jul-2011 |
jruoho | branches: 1.4.2; 1.4.8; Add few simple test cases.
|
1.3 | 07-Jul-2011 |
jruoho | Rename some test case names for consistency.
|
1.2 | 07-Apr-2011 |
jruoho | Remove the following (literal) text in the TNF copyrights:
* This code is derived from software contributed to The NetBSD Foundation * by *
XXX: If these originated from you and you want your name to be mentioned, please add it.
|
1.1 | 26-Dec-2010 |
pgoyette | Migrate the last of the libc/string/ tests from regress to atf, and re-enable building of t_popcount
|
1.4.8.1 | 23-Jun-2013 |
tls | resync from head
|
1.4.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.5.12.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.6 | 27-Nov-2020 |
christos | map enough space for both the page we write and the guard so that we make sure we own the guard page before we set its protection to none. This fixes random SEGVs where the page we set protection to none probably belonged to the dynamic linker. Reported by gson@
|
1.5 | 27-Nov-2020 |
gson | delete trailing whitespace
|
1.4 | 15-Oct-2018 |
christos | simple memmem test to show buffer overrun.
|
1.3 | 11-Jan-2017 |
christos | branches: 1.3.12; 1.3.14; PR/51822: Ngie Cooper: add additional t_memmem check
|
1.2 | 07-Jul-2011 |
jruoho | branches: 1.2.24; Rename some test case names for consistency.
|
1.1 | 26-Dec-2010 |
pgoyette | Migrate the last of the libc/string/ tests from regress to atf, and re-enable building of t_popcount
|
1.2.24.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.3.14.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.3.12.1 | 20-Oct-2018 |
pgoyette | Sync with head
|
1.5 | 02-Nov-2024 |
riastradh | memset_explicit(3): Add C23 alias for explicit_memset.
PR standards/58607: C23: <string.h> memset_explicit
|
1.4 | 11-Sep-2015 |
martin | branches: 1.4.28; Add two test cases that should cover PR 50228.
|
1.3 | 17-Mar-2013 |
christos | check return values
|
1.2 | 14-Jul-2011 |
jruoho | branches: 1.2.2; 1.2.8; Use ATF_CHECK() when appropriate.
|
1.1 | 03-Jun-2011 |
jruoho | branches: 1.1.2; Add some fundamental checks for memset(3). Prompted by a recent nasty bug in the Google Android libc.
|
1.1.2.2 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.1.2.1 | 03-Jun-2011 |
cherry | file t_memset.c was added on branch cherry-xenmp on 2011-06-23 14:20:40 +0000
|
1.2.8.1 | 23-Jun-2013 |
tls | resync from head
|
1.2.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.28.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
1.4 | 07-Jul-2011 |
jruoho | Rename some test case names for consistency.
|
1.3 | 26-Dec-2010 |
pgoyette | Make running this test conditional on the setting of atf configuration variable "run_popcount". This is a really long-running test (it takes several hours on a qemu-emulation on a 2.8GHz AMD Pheno II) but could still be useful if you want to run it manually, with the command
atf-run -v run_popcount=YES
|
1.2 | 21-Jul-2009 |
drochner | flag a 64-bit integer constant as "ULL" -- this is not clean but the code around it assumes it anyway fixes build on 32-bit
|
1.1 | 21-Jul-2009 |
joerg | Add popcount(3) and the long and long long version. Name is inspired by gnulib, the implementation goes back to the AMD Software Optimizer guide. A number of platforms will want to replace the C version with assembler code using native instructions.
|
1.2 | 14-Jul-2011 |
jruoho | Add few simple test cases.
|
1.1 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.3 | 30-Jan-2023 |
christos | PR/57205: Dag-Erling Sm�rgrav: Add tests strchrnul(3), fix strchr pasto from strlen.
|
1.2 | 10-Jan-2017 |
christos | PR/51815: Ngie Cooper: don't leak dlopen'ed handle
|
1.1 | 07-Jul-2011 |
jruoho | branches: 1.1.24; Split out the string tests from t_string.c for consistency.
|
1.1.24.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.1 | 30-Jan-2023 |
christos | PR/57205: Dag-Erling Sm�rgrav: Add tests strchrnul(3), fix strchr pasto from strlen.
|
1.4 | 25-Mar-2012 |
joerg | Be UTF8 clean.
|
1.3 | 14-Jul-2011 |
jruoho | branches: 1.3.2; Use ATF_CHECK() when appropriate.
|
1.2 | 07-Jul-2011 |
jruoho | Few basic checks, including a case for strnlen(3).
|
1.1 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.3.2.1 | 17-Apr-2012 |
yamt | sync with head
|
1.2 | 02-Aug-2021 |
andvar | s/diferent/different/
|
1.1 | 26-May-2017 |
perseant | Add simple expect-fail test case for strcoll(3)
|
1.1 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.1 | 21-Nov-2011 |
joerg | branches: 1.1.4; Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and wcsspn.
|
1.1.4.2 | 17-Apr-2012 |
yamt | sync with head
|
1.1.4.1 | 21-Nov-2011 |
yamt | file t_strcspn.c was added on branch yamt-pagecache on 2012-04-17 00:09:12 +0000
|
1.4 | 10-Jan-2017 |
christos | add <stdio.h>
|
1.3 | 10-May-2011 |
jruoho | branches: 1.3.26; Fix typo.
|
1.2 | 09-May-2011 |
jruoho | List the ATF_TC_() thins in the order of appearance.
|
1.1 | 09-May-2011 |
jruoho | Few basic tests for strerror(3).
|
1.3.26.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.4 | 23-Aug-2017 |
christos | Add test from PR/52499
|
1.3 | 15-Feb-2013 |
christos | branches: 1.3.22; don't brk the build.
|
1.2 | 07-Jul-2011 |
jruoho | branches: 1.2.2; 1.2.8; Rename some test case names for consistency.
|
1.1 | 26-Dec-2010 |
pgoyette | Migrate the last of the libc/string/ tests from regress to atf, and re-enable building of t_popcount
|
1.2.8.1 | 25-Feb-2013 |
tls | resync with head
|
1.2.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.3.22.1 | 14-May-2018 |
martin | Pull up following revision(s) (requested by maya in ticket #822):
lib/libc/string/stresep.c: revision 1.4 tests/lib/libc/string/t_stresep.c: revision 1.4
PR/52499: Justin: stresep uses memmove with of-by-one length Add test from PR/52499
|
1.2 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.1 | 25-Dec-2010 |
pgoyette | Migrate J.T.Conklin's public-domain str* tests from regress to atf.
While here, do some clean-up and knf.
|
1.6 | 14-Jan-2017 |
christos | PR/51815: Ngie Cooper: don't leak dlopen'ed handle
|
1.5 | 14-Jul-2011 |
jruoho | branches: 1.5.24; Use ATF_CHECK() when appropriate.
|
1.4 | 12-Jul-2011 |
njoly | Fix off-by-one in strlen_huge testcase.
|
1.3 | 07-Jul-2011 |
jruoho | Few basic checks, including a case for strnlen(3).
|
1.2 | 07-Jul-2011 |
jruoho | Add one simple test case.
|
1.1 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.5.24.1 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.1 | 21-Nov-2011 |
joerg | branches: 1.1.4; Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and wcsspn.
|
1.1.4.2 | 17-Apr-2012 |
yamt | sync with head
|
1.1.4.1 | 21-Nov-2011 |
yamt | file t_strpbrk.c was added on branch yamt-pagecache on 2012-04-17 00:09:12 +0000
|
1.1 | 07-Jul-2011 |
jruoho | Split out the string tests from t_string.c for consistency.
|
1.1 | 21-Nov-2011 |
joerg | branches: 1.1.4; Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and wcsspn.
|
1.1.4.2 | 17-Apr-2012 |
yamt | sync with head
|
1.1.4.1 | 21-Nov-2011 |
yamt | file t_strspn.c was added on branch yamt-pagecache on 2012-04-17 00:09:12 +0000
|
1.3 | 28-Dec-2022 |
riastradh | swab(3): Rewrite this to be understandable.
And make the tests work, and exercise all lengths up to 100.
Evidently the previous definition, presumably tightly optimized for 1980s-era compilers and CPUs, was too hard to understand, because it was incorrectly tested for two decades and broken for years.
PR lib/57141
XXX pullup-8 XXX pullup-9 XXX pullup-10
|
1.2 | 07-Jul-2011 |
jruoho | branches: 1.2.34; 1.2.44; 1.2.52; Rename some test case names for consistency.
|
1.1 | 26-Dec-2010 |
pgoyette | Migrate the last of the libc/string/ tests from regress to atf, and re-enable building of t_popcount
|
1.2.52.1 | 22-Feb-2023 |
martin | Pull up following revision(s) (requested by riastradh in ticket #98):
tests/lib/libc/string/t_swab.c: revision 1.3 lib/libc/string/swab.c: revision 1.20
swab(3): Rewrite this to be understandable.
And make the tests work, and exercise all lengths up to 100. Evidently the previous definition, presumably tightly optimized for 1980s-era compilers and CPUs, was too hard to understand, because it was incorrectly tested for two decades and broken for years.
PR lib/57141
|
1.2.44.1 | 22-Feb-2023 |
martin | Pull up following revision(s) (requested by riastradh in ticket #1601):
tests/lib/libc/string/t_swab.c: revision 1.3 lib/libc/string/swab.c: revision 1.20
swab(3): Rewrite this to be understandable.
And make the tests work, and exercise all lengths up to 100. Evidently the previous definition, presumably tightly optimized for 1980s-era compilers and CPUs, was too hard to understand, because it was incorrectly tested for two decades and broken for years.
PR lib/57141
|
1.2.34.1 | 22-Feb-2023 |
martin | Pull up following revision(s) (requested by riastradh in ticket #1798):
tests/lib/libc/string/t_swab.c: revision 1.3 lib/libc/string/swab.c: revision 1.20
swab(3): Rewrite this to be understandable.
And make the tests work, and exercise all lengths up to 100. Evidently the previous definition, presumably tightly optimized for 1980s-era compilers and CPUs, was too hard to understand, because it was incorrectly tested for two decades and broken for years.
PR lib/57141
|