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
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
darrenr
fade943a7f
The wrong condition was being tested for when deciding which fields to
...
update in ICMP error messages. In the test case for this, the wrong
input was actually being used (it should be the headers from the previous
packet output) and therefore the expected results were also wildly wrong.
kern/36309
2007-05-31 10:33:54 +00:00
martin
29fd0d9db1
Import IPFilter 4.1.22
2007-05-15 22:26:02 +00:00
martti
1a4bf0c822
Better dependency handling for the ip2 test.
2007-05-07 07:06:30 +00:00
martti
159aa98c97
Better handling of ip2 test.
2007-05-02 14:30:08 +00:00
martti
26008496a4
Make this work with object directories as well.
2007-05-02 11:35:28 +00:00
martti
2c5f81ca65
Activate ni23
2007-05-01 19:26:45 +00:00
martti
872147fef7
Upgraded IPFilter to 4.1.20
2007-05-01 19:08:03 +00:00
martti
68eb121d73
Import IPFilter 4.1.20
2007-05-01 19:00:58 +00:00
martin
6b0c4dc5ed
Disable test ni23 - the expected output contains the hash bucket number,
...
which, at least, is endian dependend.
2007-04-14 20:50:48 +00:00
martin
8ebafcc992
Update IPFilter to version 4.1.19
2007-04-14 20:34:18 +00:00
martin
993d757ec6
Import IPFilter 4.1.19
2007-04-14 20:17:19 +00:00
scw
5764a76889
Remove support for NetBSD/{,evb}sh5.
2007-04-08 09:35:21 +00:00
pooka
69011e122a
test that write to middle of file doesn't modify size
2007-03-11 10:09:17 +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
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
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
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
pooka
6980d416b8
test the pipe: mknod pipe p creates a pipe named "pipe", not "p"
2006-12-07 10:00:39 +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
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
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
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
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
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
yamt
705759a99a
#ifdef DEBUG where appropriate.
2006-10-14 04:43:41 +00:00
yamt
cf17315fe8
add parentheses.
2006-10-09 12:43:32 +00:00
yamt
dd099bf0ca
include string.h for memset.
2006-10-09 12:40:00 +00:00
yamt
dbdfc1f677
move src/sys/uvm/pdsim to src/regress/sys/uvm/pdsim.
...
no objection on tech-kern@.
2006-10-09 12:32:21 +00:00
christos
b7ae68fde0
Coverity CID 1194: Negative returns (from Arnaud Lacombe)
2006-09-29 14:18:25 +00:00
reinoud
c10891a2e7
Change the lseek tests to do two tests: in the middle and in the special
...
case, the last block of the file. In UFS this needs to be data.
2006-09-26 17:18:26 +00:00
reinoud
e2c2b53a9f
Add test for in-file seeking for data; it should return the passed offset.
2006-09-21 22:09:20 +00:00
reinoud
6d14f6770d
Add lseek tests for SEEK_DATA and SEEK_HOLE for a non sparse file.
2006-09-21 18:36:03 +00:00