jakllsch
9dc12b580b
Add fsbsizeovermaxbsize test that tests mouting a FS with block size greater
...
than MAXBSIZE.
2012-11-27 16:01:49 +00:00
jakllsch
4ab3368ede
Rename fsbsize2big to fsbsizeovermaxphys to accurately match what it tests.
...
Additionally, compute failing size dynamically by doubling MAXPHYS instead
of assuming 128K will be too big enough.
2012-11-27 15:59:15 +00:00
christos
0156034a08
Add a test for adding an event to an unsupported fd.
2012-11-24 15:05:45 +00:00
martin
5873910091
Split the test cases where root/non-root makes a difference in two and mark
...
them apropriately. Exact permission semantics are still under discussion,
this will have to be cleaned up once that discussion is settled.
For now, one test cases fails.
2012-11-23 08:24:20 +00:00
martin
ee21bbfc8f
0-terminate strings returned by readlinkat
2012-11-22 20:17:48 +00:00
martin
d875702485
Compare against modification time instead of creation time - which we did
...
not set.
2012-11-22 14:59:59 +00:00
martin
13981c9510
Fix off by one in static array acces, use valid timestamps (ns part < 1e9),
...
just in case a filesystem would need to convert this to some other
representation.
2012-11-22 14:51:19 +00:00
martin
26d64ddcc4
Mark a few tests that require root
2012-11-20 20:01:14 +00:00
agc
d9b9fb0ba9
descend into netpgpverify test directory too
2012-11-20 08:02:06 +00:00
agc
72d743a692
Add tests for netpgpverify.
2012-11-20 07:55:52 +00:00
martin
0b640008be
Do not require tv_nsec to be != 0 but instead require equality with the
...
test value.
2012-11-19 16:07:56 +00:00
manu
a76c1cc17f
Add most system calls for POSIX extended API set, part 2, with test cases:
...
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
joerg
f611942e77
Unbreak the NOTE_TRACK event of EVFILT_PROC. When attaching to the child
...
process, proc_find can't be used as the child is still in state SIDL.
2012-11-17 21:55:24 +00:00
alnsn
062bf78a84
Build libbpfjit test to the build.
2012-11-11 17:41:31 +00:00
alnsn
65b4b42177
Add libbpfjit test.
2012-11-11 17:37:34 +00:00
pgoyette
922089c955
More clean-up, and adjust timing of kevent test to avoid issues with
...
PR kern/43887
2012-11-09 20:13:24 +00:00
pgoyette
8ff87897e6
Remove unnecessary header file and an unused variable.
...
Adjust timing parameters to reduce overall elapsed time, and document
the parameters.
Clean-up status handling for kevent test.
Deal with QEMU timer-related issues (PR-43997).
2012-11-09 04:43:25 +00:00
pgoyette
c75e6b56d0
Provide clear explanation of test-case failures.
2012-11-08 16:33:26 +00:00
pgoyette
57f73370f4
Remove a debug printf(), and fix the format in another.
...
Should resolve build break.
2012-11-08 04:58:44 +00:00
pgoyette
82f50f620a
Convert old src/regress/timer&waiter tests to ATF
2012-11-08 03:13:47 +00:00
pgoyette
251231b58b
Merge in the minimal test from the old src/regress/sys/kernel/sigtramp
...
test.
2012-11-07 16:51:16 +00:00
pgoyette
8b483e6488
Add missing '+' so we include t_lock as well as t_lockf and others.
...
Should fix the build break.
2012-11-07 16:36:49 +00:00
pgoyette
7206730159
Add ATF version of the file locking test
2012-11-07 14:00:38 +00:00
nakayama
b826e4d970
Fix MKRUMP=no build.
...
librt is unrelated to rump.
2012-11-07 05:13:45 +00:00
pgoyette
3c7f7eee04
Use an ATF_TC_CLEANUP() routine to delete the mkdtemp() directory even
...
if the test case fails/exits sooner.
2012-11-06 19:35:38 +00:00
pgoyette
689370802f
Replace the atexit() routines with ATF_TC_CLEANUP()
...
Factor out the generation of token_keys to a separate routine, called
from each test case. And make sure we remove the mkdtemp()-created
directory after we're finished with it.
2012-11-06 18:31:53 +00:00
apb
2bf0b7739b
use mkdtemp() instead of mktemp().
2012-11-06 13:55:03 +00:00
pgoyette
c168fbbf95
Convert to ATF format the old src/regress/ style tests for Sys V IPC
2012-11-05 04:09:14 +00:00
alnsn
ffd8736098
Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386.
2012-11-05 00:57:39 +00:00
alnsn
a9b4cc4551
Add userspace libsljit test. Not hooked into build yet.
2012-11-05 00:34:28 +00:00
christos
6298c31a51
add missing includes
2012-11-04 23:37:02 +00:00
pgoyette
938a6ff547
Convert the old src/regress/mqueue test to ATF
2012-11-03 05:19:33 +00:00
christos
a1801097ec
Avoid ssp re-definitions for the functions we provide.
2012-10-31 13:48:12 +00:00
njoly
60dc3e4d2e
Add a small testcase for PR/47068.
2012-10-15 17:49:58 +00:00
bouyer
f800b89bbc
Add test cases for the bug fixed in sys/ufs/ufs/ufs_quota2.c 1.35:
...
when a on-disk block/inode allocation triggers allocating a new
quota entry, the new quota entry is not in the quota2 header block,
and the allocation will later be denied, the changes to the quota block would
not be flushed to disk, leading to list corruption (detected by fsck).
2012-09-30 21:26:57 +00:00
skrll
2392c04529
Simplify
2012-09-27 09:56:21 +00:00
martin
d70931dac7
Add missing include <stdlib.h>
2012-09-27 08:19:18 +00:00
joerg
fe9380cfbd
Add regression test for cdbr(3) and cdbw(3).
2012-09-27 00:38:57 +00:00
christos
908d2159b9
make the test more precise.
2012-09-27 00:37:56 +00:00
joerg
aef403d694
Fix year.
2012-09-26 22:23:30 +00:00
jruoho
85dbe713e8
Remove expected failures that no longer fail (probably due a Qemu update).
2012-09-26 07:24:38 +00:00
joerg
4edfbdbb40
Simplify the BDZ compression function, making it smaller at the same
...
time. Fixes a bug where non-minimal hash functions could be created.
Add regression tests for BDZ, including the map output functionality.
2012-09-25 20:53:46 +00:00
joerg
2b3d1ee8a7
Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
...
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
blymn
a76c5dee4e
* Add scanw family function calls as input functions
2012-09-19 11:51:56 +00:00
blymn
d537772cd3
* Fix mvscanw return
...
* Fix the *vline family of calls, one argument is chtype not int
2012-09-19 11:51:08 +00:00
martin
c7ba7e0c07
Try to make this test gracefully fail when npftest is not available
2012-09-18 08:28:15 +00:00
plunky
baa3f70feb
correct spelling of file to clean
2012-09-15 16:22:58 +00:00
joerg
69d9b49983
Workaround infrastructure bug where additional rpath flags are added for
...
/lib, resulting in linker warnings for the compat case.
2012-09-13 21:13:34 +00:00
martin
001611b06f
ATF wrapping of the npf tests
2012-09-12 14:06:31 +00:00
manu
bba80928a8
setcontext() used to be incompatible with -lpthread since it affected
...
the TLS pointer, therefore wrecking the pthread environement.
Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)
that controlled whether setcontext() would change the TLS pointer.
This change let libpthread override setcontext() with its own version
that unsets _UC_TLSBASE, enabling safe usage of setcontext() with
-lpthread.
We also have the following required changes here:
- rename alpha's _UC_UNIQUE into _UC_TLSBASE
- add _UC_TLSBASE definition in header file for all ports
(powerpc, sh3, sparc and sparc64 lack the implementation for now)
- introduce a libc stub that can be overriden for setcontext()
- modify MD libcs swapcontext() implementations so that they use the
setcontext() libc stub instead of doing a plain system call.
While we are there:
- document various MD _UC_* flags in header file
- add libc and libpthread tests for swapcontext() behavior
(hopefully helpful to spot MD problems introduced with this change)
Future work:
- Deciding whether kernel support or _UC_TLSBASE should be added for
powerpc, sh3, sparc and sparc64 is left to portmasters
sparc64
Approved by core@
2012-09-12 02:00:51 +00:00