hubertf
b9df58262c
Allow using something else than 'cut' to test this with the CUT env variable.
2007-01-23 21:32:55 +00:00
ad
1a6c900ae4
Disable the conddestroy1 test. IEEE Std 1003.1, 2004 Edition says:
...
If a signal is delivered to a thread waiting for a condition
variable, upon return from the signal handler the thread resumes
waiting for the condition variable as if it was not interrupted,
or it shall return zero due to spurious wakeup.
2007-01-20 19:40:06 +00:00
christos
14eb5e3c17
change count from 5M to 50000
2007-01-20 19:22:29 +00:00
christos
9dffc0237c
change 5M to 50000; add more printfs.
2007-01-20 19:21:18 +00:00
ginsbach
089d34fd42
Add a small regression test for getopt_long(3).
2007-01-18 16:29:21 +00:00
ad
d21838fa67
Randomise the calls to yield().
2007-01-17 21:00:50 +00:00
ad
5606d9f962
Add basic tests for kernel mutexes & rwlocks.
2007-01-17 20:56:49 +00:00
cube
303f904375
config(1) should not allow a deffs to use the same name as a previous
...
defflag/defparam.
2007-01-06 18:52:47 +00:00
pooka
3161077c75
test unlink of "." is not succesful
...
jmmv ok
2007-01-02 11:04:10 +00:00
yamt
36706cd001
add #ifdef'ed out code to search valid directory cookies
...
for ufs-like filesystems.
2006-12-30 23:19:11 +00:00
ad
f87898b1c5
Signal masks are thread private, and there is no guarantee of the order in
...
which the two signal handlers in this test will execute, at least not beyond
SIGUSR1 being caught first, and SIGUSR2 being caught after that. One way
that it can fail erroneously is:
2 kill(getpid(), SIGUSR1)
2 Receive signal SIGUSR1
2 kill(getpid(), SIGUSR2)
1 Receive signal SIGUSR2
1 Exit handler
2 Exit handler
So if the handlers appear not to have run in sequence, at least verify
that they were run by different threads.
2006-12-26 20:29:03 +00:00
ad
188b195635
Fix this test (it seems to have depended on the specific behaviour of
...
our libpthread).
2006-12-23 17:44:12 +00:00
pooka
6980d416b8
test the pipe: mknod pipe p creates a pipe named "pipe", not "p"
2006-12-07 10:00:39 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
dsl
cbcdf48a7e
Add a test for "$@" generating $# of 0 into a shell function.
2006-11-17 22:25:46 +00:00
ginsbach
dca2bdf5fa
- print lineno as the line number in error rather than line
...
- use errx(3) instead of err(3) since errno is not set; all the calls are
for input parse errors which don't set errno
2006-11-16 21:34:53 +00:00
he
f50e36b715
Move settings of CLEANFILES and LDFLAGS outside the conditional, so that
...
the dummy libssp_nonshared.a file will be cleaned under clean/cleandir.
2006-11-12 15:18:29 +00:00
christos
eef8c97c9c
Don't disable the tests, otherwise 'make obj', 'make clean', or 'make cleandir'
...
will create the archive.
2006-11-12 01:41:46 +00:00
he
6c94afac43
Disable the libssp regression tests for alpha, mips and hppa. These
...
architectures do not have -fstack-protector support in gcc (yet).
2006-11-11 23:37:18 +00:00
jmmv
2947e73b43
Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
...
the root file system on a LFS volume.
Addresses PR bin/30407. No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
he
b3c318d9a6
Make this bootstrap hack actually work:
...
o Correct typo in library file name.
o Comment out conditionals around the bootstrap hack.
At least CLEANFILES+= needs to be set for cleandir.
The conditional doesn't appear to do the right thing under
the dependall target either, for some strange unknown reason.
Committing this so that we get back buildability...
2006-11-11 11:23:39 +00:00
christos
743785267a
add a hack to build a fake libssp-nonshared.a for bootstrapping.
2006-11-11 06:42:49 +00:00
christos
499f07fbc0
use malloc instead of alloca.
2006-11-10 17:38:33 +00:00
christos
7a23599e76
add LDADD + DPADD for libssp. Pointed out by Geoff Wing.
2006-11-09 17:08:04 +00:00
jmmv
cff91bd8fc
Add 2006 to the copyright notice; should have done this when touching the
...
files before.
2006-11-09 16:20:06 +00:00
jmmv
d1d4964327
Move the "Removal of current directory" test to t_rmdir from t_remove
...
because that's the operation we are issuing. Adjust it to expect a
failure on further accesses to the removed directory.
2006-11-09 15:38:12 +00:00
jmmv
1befc83712
Add tests for vnd over tmpfs files.
2006-11-09 15:25:37 +00:00
jmmv
e8467243ef
Add several checks to see if tmpfs raises the proper kqueue events during
...
operation. These all match the behavior exposed by MFS (except for a
corner case that is described in t_link).
Fixes to tmpfs itself to make these tests pass will come soon.
2006-11-09 13:51:49 +00:00
rillig
9527a32b3d
Added another test case and enabled it.
2006-11-09 12:17:35 +00:00
christos
3ad047d4fd
descend into libssp
2006-11-08 21:02:10 +00:00
christos
2da147ae0e
add libssp regression tests.
2006-11-08 21:01:35 +00:00
jmmv
bd6b5f5dfe
Catch an assertion failure that happens when accessing the current directory
...
after it has been deleted.
2006-11-07 14:07:12 +00:00
oster
152ad1389e
Fix a race condition in the sigchld regression test. It is now possible
...
to run 200 simultanous copies of the sigchld regression test without
some of them missing their signals. From yamt via mrg. Thanks!
2006-11-04 00:08:34 +00:00
christos
ac753bfc9a
fix another crypto/rmd160.h
2006-10-30 20:24:48 +00:00
jmmv
346849f443
As pooka@ says, a rename has to change the file's ctime; make that explicit.
2006-10-30 15:22:54 +00:00
jmmv
286dc06fc6
Check that renaming a file does not change its times but does change the
...
ones of the directory holding it.
2006-10-30 15:08:09 +00:00
christos
25dc0b1687
add tests for zero sized arrays.
2006-10-23 00:09:37 +00:00
christos
d9b2ba3ddf
use HOST_SH since make might not fork a shell for a simple command.
2006-10-23 00:08:54 +00:00
he
834c0a7840
Add handling of the supposed-to-fail tests. Add an
...
"ok: <testname>" possibly followed by "(should warn & fail)" to the
output to make it a little more obvious what is being run.
2006-10-18 00:05:33 +00:00
he
7164372cfa
Add a few regression tests for lint. These files are supposed to fail
...
lint checking.
2006-10-18 00:03:27 +00:00
skrll
6d031b3abb
Link testlib against libm and libgcc_s so that all the required symbols
...
are available for all arches.
Some arches (arm and hppa) use SJLJ expections which requires stuff from
libgcc_s and some (hppa) always do immediate binding - libstdc++ requires
libm.
Fixes PR 33294 and regress/usr.bin/rtld/dlopen on hppa with the soon to
be committed unaligned reloc fix.
2006-10-16 09:21:55 +00:00
christos
4ac7ff4bf5
Another test.
2006-10-15 18:17:09 +00:00
christos
23d1e65c52
array init test
2006-10-15 15:09:38 +00:00
dogcow
8cf357b535
Add NetBSD tag, add bsd.subdir.mk include.
2006-10-14 23:38:40 +00:00
bjh21
cb9637bcff
Make regress target depend on the test program so as to ensure it gets
...
compiled.
2006-10-14 21:23:01 +00:00
christos
dac81217a4
glue in the lint regression tests now that they work.
2006-10-14 21:10:53 +00:00
bjh21
c08721e416
Make regress target depend on the test program so as to ensure it gets
...
compiled.
2006-10-14 20:57:10 +00:00
bjh21
00fc4b5639
This doesn't panic any more, so run it automatically.
2006-10-14 20:42:47 +00:00
yamt
cc068aea62
remove unused lines.
2006-10-14 04:59:52 +00:00
yamt
9939939e34
add a makefile.
2006-10-14 04:46:30 +00:00