Commit Graph

939 Commits

Author SHA1 Message Date
apb b233081ee5 Add tests for shell arithmetic. The new tests 4, 5, 6 all pass,
but the existing test 3 fails.
2007-03-25 06:37:01 +00:00
enami f1787e0a5d - Make -DINTREE works again.
- Compare test results with diff -w rather than cmp as we won't care about
  whitespace diffrences of df output.
2007-03-16 01:29:40 +00:00
enami d4d6c3ff03 Rephrase the comment slightly to note that which revision of
humanize_number.c fails to handle these cases.
2007-03-13 02:56:18 +00:00
enami 1e59139e04 Make -DINTREE (a flag to tell make(1) to build the test program
with using in tree humanize_number.c) works again.
2007-03-12 03:39:57 +00:00
enami 1a453a687f Add failure case reported by Greg Troxel. 2007-03-12 03:38:21 +00:00
pooka 69011e122a test that write to middle of file doesn't modify size 2007-03-11 10:09:17 +00:00
drochner 89d741cf50 initialize line counter for fparseln() 2007-03-07 15:13:50 +00:00
yamt 38b7dcdca4 a test for priority inheritance. 2007-02-25 09:52:47 +00:00
yamt ad0768d11e - fix "make obj && make".
- add "NOMAN=".
2007-02-24 15:25:23 +00:00
rmind b2eedf1afb Add regression tests for sdiff(1).
From OpenBSD.
2007-02-19 19:42:50 +00:00
cube 329aa49851 Don't try cleaning what is now a source file. [hi hubertf!] 2007-02-19 11:15:47 +00:00
hubertf 1f32eee360 Don't generate input on the fly (the utf8 version is created from the
latin1 version using iconv). Make sure all files are cleaned up.
2007-02-17 18:30:29 +00:00
hubertf 65c821b927 Test if 'cut -c' is working with multibyte characters properly.
For PR 34244.
2007-02-17 18:27:55 +00:00
ad 401499f30e Sync with kernel changes introduced by merging the newlock2 branch. 2007-02-09 22:08:48 +00:00
ad c1d4b532de Allow the number of loops to specified on the command line, still
defaults to 1.
2007-02-06 15:08:17 +00:00
ad 8d344bc387 Oops, for uniprocessor systems these need to yield more often because
the threads don't get forced off the CPU.
2007-02-05 22:48:01 +00:00
ad 002869bdb7 Drop priority to MAXPRI before starting the tests. 2007-02-05 20:20:48 +00:00
ad 8c24327068 Pass in the correct LKM entry point. Noted by mhitch. 2007-02-05 20:18:43 +00:00
christos 016db3548e make this compile with -DSTATISTICS 2007-02-03 23:46:40 +00:00
christos 980e6dca8f - knf, ansi, lint etc. 2007-02-03 23:04:04 +00:00
christos ecb577caf1 - errors to stderr
- improve some shell syntax: $() instead of `` and ! prog instead of else
  kludge
- use getopts.
- add usage
2007-02-03 20:59:34 +00:00
christos fff7c9f19d misc cleanups. 2007-02-03 20:39:05 +00:00
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