Jilles Tjoelker
4b7fb70199
Generate some tests for sh's case command from the fnmatch tests.
...
I'm committing the generated files because I don't like a build dependency
for the sh(1) tests, and they are small and will not change much.
2010-05-09 16:15:40 +00:00
Jilles Tjoelker
139ac6b239
fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen.
...
Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD)
PR: 116074
MFC after: 1 week
2010-04-16 22:29:24 +00:00
Jilles Tjoelker
bfbe51816a
Add some tests for fnmatch(3).
...
MFC after: 1 week
2010-04-16 22:15:26 +00:00
Jilles Tjoelker
364e9ccb9c
wordexp(3): fix some bugs with signals and long outputs
...
* retry various system calls on EINTR
* retry the rest after a short read (common if there is more than about 1K
of output)
* block SIGCHLD like system(3) does (note that this does not and cannot
work fully in threaded programs, they will need to be careful with wait
functions)
PR: 90580
MFC after: 1 month
2009-10-23 14:50:11 +00:00
David Schultz
4c7c6686c3
Regression tests for fmtcheck(3).
...
Obtained from: NetBSD
2008-08-02 06:03:04 +00:00
David Schultz
5a97a86c28
Fix an amusing typo that has prevented this from compiling since 2004.
2007-12-16 23:38:55 +00:00
David Schultz
0c66f5adc3
Write negative zero as '-0.0'. Otherwise, it is parsed as an integer
...
before being cast to a floating point type, and the sign is lost.
2003-03-27 05:32:28 +00:00
Mike Barcroft
b4e41c1278
Add more tests. Specifically, infinity cast from other types should
...
always be classified as infinity.
2003-02-08 20:45:48 +00:00
Mike Barcroft
2c4594131f
Add regression test for soon-to-be-committed fpclassify().
2003-02-05 16:40:18 +00:00
Tim J. Robbins
889c37ceb3
Add a regression test for wordexp() and wordfree().
2003-01-04 05:50:35 +00:00