dholland
936ebf85ff
use errno.h, not sys/errno.h
2008-02-24 21:37:47 +00:00
dyoung
a34525837f
Do not #include <sys/device.h> from userland.
2008-02-11 20:29:15 +00:00
mrg
04ac16e077
also add -pthread to LDFLAGS; now this actually passes.
2008-02-09 08:38:08 +00:00
christos
c44d05fa14
add a unit-test for threaded libobjc.
2008-02-08 20:04:50 +00:00
yamt
90306066c9
remove an unused prototype. (rdtsc)
2008-02-05 10:00:17 +00:00
christos
342c547a73
regression test for posix_memalign
2008-02-03 22:56:13 +00:00
uwe
c2b2ccc344
Add -D_LOCORE to AFLAGS.
2008-02-02 18:18:14 +00:00
chris
e083edeb16
Force the last loop to always walk all the data in the mbuf chain.
...
It appears that randomness was against me when I updated the arm version
as it crashes when used for real. By forcing one full walk of the mbuf
chain the regression tool crashes, hinting that something is wrong.
2008-01-27 16:49:13 +00:00
simonb
2c3f5b99b6
Add some aligned tests for the more "normal" cases. Even though this is
...
primarily a regression tool, it's still a useful benchmark tool so we
might as well try relatively real-world tests as well.
Ok joerg@.
2008-01-26 04:56:45 +00:00
chris
8184079c4d
Fix typo, assum.h -> assym.h
2008-01-26 02:07:13 +00:00
joerg
c0e2333a0f
Add regression test and benchmark for the upcoming cpu_in_cksum.
...
This is inspired by an older test case written by Charles Hannum.
cvs: ----------------------------------------------------------------------
2008-01-24 18:12:29 +00:00
ginsbach
b0f72f0138
Add regression test for inet_network(3).
2008-01-19 04:12:20 +00:00
dsl
9551b193fd
The interval timers (setitimer()) are not inherited by fork (I've checked
...
the SuS) so start the timer in the correct process otherwise this test
will never timeout.
2008-01-12 11:10:08 +00:00
ginsbach
05d6614378
Fix PR/37710. Correct botched test result. This lead to an erroneous
...
regression failure.
2008-01-08 03:49:01 +00:00
martin
5d0a5ce934
Use WEXITSTATUS() on wait() results. From David Laight.
2008-01-06 21:53:08 +00:00
martin
3c255188f8
Only remove the dbfile if no filename was given via -f
2008-01-06 19:42:32 +00:00
yamt
0c9bd4f953
sprinkle sleep(1) to catch more bugs.
2008-01-04 16:18:52 +00:00
yamt
768cff817f
iopl.
2008-01-04 15:39:25 +00:00
yamt
ca99721f8d
test i386_iopl.
2008-01-04 15:37:11 +00:00
yamt
599bbacd07
test i386_get_ioperm/i386_set_ioperm.
2008-01-04 14:23:00 +00:00
martin
9585e85c4d
Remove the test db file when done testing.
2008-01-03 13:52:46 +00:00
seb
975a58878b
Fix stresep(3) handling of consecutive quoted delimiter characters.
...
Approved by christos@
2007-12-06 22:07:07 +00:00
ad
a33059bb24
A quick-and-dirty test that forces the softclock interrupt to block.
2007-12-04 08:02:24 +00:00
ad
e96977751f
Print return value on error
2007-12-03 17:59:45 +00:00
tnozaki
0d66ddd732
more PR/36938
...
- don't re-initialize internal-state when current locale is stateless encoding.
- fix testcase filedir problem.
2007-11-26 16:09:50 +00:00
jmmv
bcd96ef9e6
This should have died before; it is not of any use now that regress/bin
...
has been migrated to ATF.
2007-11-12 15:29:03 +00:00
jmmv
98380f8b63
Convert the regress/games tests to the atf
...
This change converts all the existing regression tests in regress/games
to the new framework provided by atf. As a side effect, this also moves
all the tests programs in regress/games to tests/games.
2007-11-12 15:19:45 +00:00
jmmv
9b7401e7cb
Convert the regress/sys/fs/tmpfs tests to the atf
...
This change converts all the existing regression tests in
regress/sys/fs/tmpfs to the new framework provided by atf. As a side
effect, this also moves all the tests programs in regress/sys/fs/tmpfs to
tests/fs/tmpfs.
2007-11-12 15:18:07 +00:00
jmmv
65926be28b
Convert the regress/bin tests to the atf
...
This change converts all the existing regression tests in regress/bin to
the new framework provided by atf. As a side effect, this also moves all
the tests programs in regress/bin to tests/util, as they all belong to
utilities installed by the base-util-root package.
2007-11-12 15:13:58 +00:00
martin
ed3f875e0a
gcc constant folding at compile time works around the real points of these
...
tests - so enforce -O0.
2007-11-07 00:08:50 +00:00
martin
b7145352b8
Add another cast variant that might (and currently does) fail - pointed
...
out by Holger Weiss on port-sparc64.
2007-11-07 00:03:09 +00:00
he
a9f62d9e82
Add two very simple regression tests for the "toupper" and "tolower"
...
functions, doing some minimal checking that they now support multibyte
charsets after the fix from PR#36394 was applied.
2007-10-25 14:51:18 +00:00
he
945d30fed1
Result file from regression test should not have been checked in.
2007-10-25 14:48:49 +00:00
tnozaki
0941b12b16
lib/36938 mbtowc misbehaving after invalid char sequence
...
- make sure to initialize mbtowc's internal state.
- add regression test.
2007-09-18 15:12:07 +00:00
drochner
9b1b051e89
add a check for correct order of destructor calls (from the gcc mailing
...
list) which points at a misconfiguration at our side
(cxa_atexit not used)
2007-09-17 17:37:48 +00:00
ad
b5d1c4ed09
Block SIGALRM in the 'setup' thread, otherwise the alarm may not be taken
...
by the thread in sigsuspend().
2007-09-09 01:08:56 +00:00
drochner
77ba1afdf0
Add a check for correct definition of UCHAR_MAX/USHRT_MAX and related
...
types. C99 requires that these definitions promote to (signed/unsigned)
integer the same way as the types the definition is for. And since
unsigned char/short fit into an "int" on all our archs and thus promote
to signed int, the definitions must not be unsigned.
Addresses PR lib/31306 by Neil Booth.
2007-08-31 16:20:50 +00:00
drochner
f0a00b4ec9
humble beginnings of regression tests for libm functions: test for
...
a longstanding bug in round()/roundf() which I will pull in a fix
for (from FreeBSD) in a minute
2007-08-21 19:52:36 +00:00
jmmv
9b435895e8
Fix duplicate year in copyright notice.
2007-07-24 11:29:16 +00:00
jmmv
12f24779d1
Add some more tests to ensure that renaming a file to a directory and a
...
directory to a file fails with the appropriate error codes. tmpfs still
fails these tests, but the fix is almost ready to go in.
2007-07-23 15:05:43 +00:00
jmmv
e92cf7fb11
Add test cases to ensure that:
...
1) Renaming a directory to an empty directory works by replacing the target
directory.
2) Renaming a directory to a non-empty directory fails.
This is all by calling rename(2) directly, not mv(1).
tmpfs currently fails those tests, raising an assertion if DIAGNOSTIC is
enabled. A fix will hopefully follow soon.
Found by pooka@.
2007-07-23 12:51:35 +00:00
joerg
306d03018d
A regression test is much more useful, if it passes itself on correct
...
input.
2007-07-16 19:04:18 +00:00
jmmv
e5687c651f
Fix typo in shell-bang line. Not really needed since the script is not
...
executable and the Makefile runs it explicitly through /bin/sh.
2007-07-15 09:23:53 +00:00
jmmv
4be5aa1d57
df now prints %Cap instead of Capacity in the header (unless -P is specified),
...
so adjust the output files accordingly.
2007-07-15 09:22:51 +00:00
ginsbach
15b661abe9
Fix several end cases:
...
o If a long option looks like an ambiguous abbreviation of two or more long
options, but all the possible interpretations would return the same
value, then just return that value without complaining that it's
ambiguous.
o If a long option could be interpreted either as an exact match for one
long option, or as an abbreviation for one or more other long options,
then treat it as the exact match.
These changes align NetBSD's getopt_long(3) with the current behavior of
GNU getopt_long(3), the de facto standard, and FreeBSD's getopt_long(3).
2007-07-05 16:05:40 +00:00
ginsbach
67a9c3250c
Remove debugging code accidently left in the original commit. This should
...
make the test a bit less verbose.
2007-06-19 20:44:28 +00:00
martin
c77a3f5aad
Upgraded IPFilter to v4.1.23
2007-06-16 10:52:24 +00:00
martin
03f2531d69
Import IPFilter 4.1.23
2007-06-16 10:33:08 +00:00
apb
57d159b747
Add a test for the `true && ! true | false` bug
...
which dsl fixed in revision 1.65 of src/bin/sh/parser.c.
2007-06-08 11:03:47 +00:00
he
71da552ff1
If HAS_SSP == "no", don't descend into the ssp subdirectory, because
...
building there will fail.
2007-06-02 11:09:22 +00:00