Home | History | Annotate | only in /src/tests/lib/libc/regex
History log of /src/tests/lib/libc/regex
RevisionDateAuthorComments
 1.13 02-Jan-2025  kre Fix build after recent regex tests addition (make it be an addition, and
don't forget tests/libtre)
 1.12 01-Jan-2025  christos Add a test for PR/58910
 1.11 25-Feb-2021  christos branches: 1.11.8;
Adjust for conditional NLS
 1.10 26-Aug-2016  darcy Replace MKMAN with NOMAN as suggested by christos@. Allows
userland to build when building man pages.
 1.9 24-Aug-2012  jmmv branches: 1.9.10; 1.9.16;
Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.8 06-Nov-2011  christos make the standard tests optional.
 1.7 06-Nov-2011  christos skip the association that does not match with our implementation.
 1.6 06-Nov-2011  christos Add the AT&T regex tests
 1.5 05-Nov-2011  christos Arrange so that the same tests can be used by libtre.
 1.4 11-Oct-2011  dholland branches: 1.4.2;
Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)
 1.3 10-Oct-2011  christos - Use PROGS instead of PROG so that we can co-exist with TESTS_C
- Make the helper program compile again.
 1.2 09-Oct-2011  christos Add a test to check for DoS attacks against regcomp/regexec. From
Maksymilian Arciemowicz.
 1.1 09-Jan-2011  pgoyette Ouch - forgot the include this earlier.
 1.4.2.2 30-Oct-2012  yamt sync with head
 1.4.2.1 10-Nov-2011  yamt sync with head
 1.9.16.1 18-Jan-2017  skrll Sync with netbsd-5
 1.9.10.1 25-Sep-2016  bouyer Pull up following revision(s) (requested by darcy in ticket #1241):
tests/lib/libc/net/getaddrinfo/Makefile: revision 1.2
tests/lib/libc/regex/Makefile: revision 1.10
Replace MKMAN with NOMAN as suggested by christos@. Allows
userland to build when building man pages.
 1.11.8.1 02-Aug-2025  perseant Sync with HEAD
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.8 24-Aug-2012  jmmv Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.7 06-Nov-2011  christos branches: 1.7.2;
- Handle TRE
- Make BUG comments print.
 1.6 06-Nov-2011  christos be less chatty.
 1.5 06-Nov-2011  christos more failed tests, perhaps I should move the data to a file, but how do
you open a file in ATF?
 1.4 06-Nov-2011  christos Add the failed forced association tests.
 1.3 06-Nov-2011  christos Add the nullsubexpression tests. We mostly fail or don't support them.
Two of the tests actually cause the regex library to enter infinite
recursion.
 1.2 06-Nov-2011  christos Add a bug section so we can skip tests that don't work.
 1.1 06-Nov-2011  christos Add a test harness for the att data files:
http://www2.research.att.com/~gsf/testregex/
Not part of the build yet.
 1.7.2.3 30-Oct-2012  yamt sync with head
 1.7.2.2 10-Nov-2011  yamt sync with head
 1.7.2.1 06-Nov-2011  yamt file att.c was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.7 25-Feb-2021  christos Adjust for conditional NLS
 1.6 24-Feb-2021  christos remove casts
 1.5 24-Feb-2021  christos minimal fix to match the library code (really make the constants unsigned
instead)
 1.4 23-Feb-2021  christos Delete category stuff that has changed with the new regex; make compile
on linux and with TRE
 1.3 14-Jan-2017  christos PR/51832: Ngie Cooper:
- limit memory to 64M
- error msg fixes
- includes fixes
 1.2 10-Oct-2011  christos branches: 1.2.24;
- Use PROGS instead of PROG so that we can co-exist with TESTS_C
- Make the helper program compile again.
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.2.24.1 20-Mar-2017  pgoyette Sync with HEAD
 1.4 23-Feb-2021  christos Add REG_GNU
 1.3 23-Feb-2021  christos Add REG_POSIX, and make compile on linux where we don't have a lot of the
internal flags.
 1.2 16-Sep-2011  plunky NULL does not need a cast, here
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.14 09-Jun-2021  christos remove the kill in the trace code.
 1.13 09-Jun-2021  christos remove not required include files
 1.12 09-Jun-2021  christos 1. Preallocate the patterns so that out of memory conditions don't happen
during their allocation, which the test cannot handle properly.
2. Enable building the test without atf so that we can easily debug with
atf memory allocations interfering
3. Add memory tracing (disabled)
 1.11 07-Jun-2021  christos Add more information for the malloc failure.
 1.10 09-Jul-2019  gson Update require.memory to match the increased rlimit.
 1.9 16-Mar-2019  christos PR/54061: Bump memory for jemalloc (a lot).
 1.8 14-Jan-2017  christos branches: 1.8.14;
PR/51832: Ngie Cooper:
- limit memory to 64M
- error msg fixes
- includes fixes
 1.7 16-Nov-2011  christos branches: 1.7.22;
this works with much less memory too.
 1.6 16-Nov-2011  christos add require.memory=500M
 1.5 09-Nov-2011  christos add a large timeout for libtre
 1.4 06-Nov-2011  christos - Print the symbolic error using regerror, as well as the pattern that caused
it.
- Add the ability to set the number of repetitions in the pattern from
cpp since TRE handles things poorly:
- It runs the machine out of memory with rep=9 (we use rep=9999)
- It truncates the pattern with rep=9999
 1.3 04-Nov-2011  christos stylistic improvements.
 1.2 21-Oct-2011  christos branches: 1.2.2;
simplify.
 1.1 09-Oct-2011  christos Add a test to check for DoS attacks against regcomp/regexec. From
Maksymilian Arciemowicz.
 1.2.2.2 17-Apr-2012  yamt sync with head
 1.2.2.1 10-Nov-2011  yamt sync with head
 1.7.22.1 20-Mar-2017  pgoyette Sync with HEAD
 1.8.14.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.8.14.1 10-Jun-2019  christos Sync with HEAD
 1.3 24-Aug-2012  jmmv Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.2 06-Nov-2011  christos ability to select associativity
 1.1 08-Jan-2011  pgoyette branches: 1.1.6;
Atf-ify the regex test
 1.1.6.2 30-Oct-2012  yamt sync with head
 1.1.6.1 10-Nov-2011  yamt sync with head
 1.4 24-Aug-2012  jmmv Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.3 11-Oct-2011  dholland branches: 1.3.2;
Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)
 1.2 09-Jan-2011  pgoyette Fix typo that got lost between my trial build and the final commit
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.3.2.1 30-Oct-2012  yamt sync with head
 1.1 24-Aug-2012  jmmv branches: 1.1.4;
Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.1.4.2 30-Oct-2012  yamt sync with head
 1.1.4.1 24-Aug-2012  yamt file t_regex.sh was added on branch yamt-pagecache on 2012-10-30 19:00:00 +0000
 1.4 23-Feb-2021  christos Add support for ENOSYS (was never set)
 1.3 14-Jan-2017  christos PR/51873: Ngie Cooper: add util.h #include
 1.2 14-Jan-2017  christos PR/51832: Ngie Cooper:
- limit memory to 64M
- error msg fixes
- includes fixes
 1.1 24-Aug-2012  jmmv branches: 1.1.4; 1.1.16;
Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.1.16.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1.4.2 30-Oct-2012  yamt sync with head
 1.1.4.1 24-Aug-2012  yamt file t_regex_att.c was added on branch yamt-pagecache on 2012-10-30 19:00:01 +0000
 1.3 24-Aug-2012  jmmv Sanitize the regex test cases.

- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
The former was really a test program, and the latter just a very strange
driver for it.

- Stop using awk to generate the shell test programs. This is unnecessary
and confusing. Instead, change t_regex.sh to generate the test case
functions on the fly with eval (as done in many other places).
 1.2 06-Nov-2011  christos branches: 1.2.2;
leave all tests in and have the awk script select which ones are appropriate.
 1.1 06-Nov-2011  christos Add the AT&T regex tests
 1.2.2.3 30-Oct-2012  yamt sync with head
 1.2.2.2 10-Nov-2011  yamt sync with head
 1.2.2.1 06-Nov-2011  yamt file t_regex_att.in was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 01-Jan-2025  christos branches: 1.1.4;
Add a test for PR/58910
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 01-Jan-2025  perseant file t_regex_binary.c was added on branch perseant-exfatfs on 2025-08-02 05:58:05 +0000
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.2 23-Feb-2021  christos Comment out tests that the new stricter regex does not like
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.2 11-Oct-2011  dholland Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.2 23-Feb-2021  christos Comment out tests that the new stricter regex does not like
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.2 23-Feb-2021  christos Comment out tests that the new stricter regex does not like
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 08-Jan-2011  pgoyette Atf-ify the regex test
 1.1 11-Oct-2011  dholland Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)
 1.2 15-Aug-2023  christos Update link. We should also update the data...
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file README was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file basic.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file categorization.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file forcedassoc.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file leftassoc.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file nullsubexpr.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file repetition.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000
 1.1 06-Nov-2011  christos branches: 1.1.2;
moved because we cannot have multiple FILESDIR
 1.1.2.2 10-Nov-2011  yamt sync with head
 1.1.2.1 06-Nov-2011  yamt file rightassoc.dat was added on branch yamt-pagecache on 2011-11-10 14:31:52 +0000

RSS XML Feed