lukem
38e498a29c
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:33:31 +00:00
rmind
481ae1556f
- Add general cpuset macros.
...
- Use kcpuset name for kernel-only functions.
- Use cpuid_t to specify CPU ID.
- Unify all cpuset users.
API is expected to be stable now.
2008-06-16 01:41:20 +00:00
rmind
1ce83e28f1
Sync with the latest cpuset changes.
2008-06-16 00:33:24 +00:00
darrenr
b002202839
fix a merge error that led to the expected file not being built for i19
2008-06-02 11:48:38 +00:00
christos
594a138824
add a complex test.
2008-05-31 15:44:31 +00:00
ad
e74e1f24d8
Another latency test. This one uses realtime threads, _lwp_park, and
...
measures how long preemption takes (kernel preemption if the arch
implements it).
2008-05-28 11:34:07 +00:00
christos
3914f24884
make this compile again from Stathis Kamperis
2008-05-25 20:47:30 +00:00
ad
f82d7874c2
A dumb test of how long it takes to send a byte through a pipe, using
...
timeshared threads and realtime threads.
2008-05-23 22:22:36 +00:00
darrenr
2f5a5e95ad
Pullup IPFilter 4.1.29 from the vendor branch to HEAD.
...
See src/dist/ipf/HISTORY for a list of bug fixes since 4.1.23 (although
a few are already in NetBSD)
2008-05-20 07:08:06 +00:00
darrenr
675eb13106
Import IPFilter 4.1.29 to the vendor branch
2008-05-20 06:43:46 +00:00
peter
38ef85727a
Update to libevent 1.4.4-stable.
...
Reviewed by provos@
2008-05-16 20:24:57 +00:00
ad
2bbb14eaa4
Back out previous. It broke the build.
2008-05-05 13:41:29 +00:00
ad
d2c9207a91
Don't check sys/net/zlib.h.
2008-05-04 22:59:18 +00:00
martin
8acaa04128
Move to 2 clause license (can you spot the typo in the old text?)
2008-05-02 18:55:06 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
christos
ee7f0d99cd
add ellipsis test
2008-04-25 17:19:14 +00:00
ad
43d8bae932
Give callout_halt() an additional 'kmutex_t *interlock' argument. If there
...
is a need to block and wait for the callout to complete, and there is an
interlock, it will be dropped while waiting and reacquired before return.
2008-04-22 12:04:22 +00:00
yamt
849fe720d6
test lockf deadlock detection.
2008-04-05 03:34:47 +00:00
drochner
ba327d4301
make this compile again
...
(it isn't built by default, but anyway)
2008-04-01 19:20:43 +00:00
apb
e6806c2c83
Adapt to changes in m68k/060sp/asm2gas script: pass SED=${TOOL_SED:Q}
...
instead of TOOL_SED=${TOOL_SED:Q} in the environment.
2008-03-28 22:29:16 +00:00
ad
e1fe405771
Add a test for callout_halt (and incidentally, fast softints).
2008-03-28 20:44:57 +00:00
ad
7b5d104e8d
Make these compile again.
2008-03-28 20:28:27 +00:00
apb
a749c03e28
Use "${TOOL_SED}" instead of just "sed" in sys/arch/m68k/060sp/asm2gas.
2008-03-27 07:15:16 +00:00
ad
0c65d1b648
- Use atomic_inc_uint() to maintain the global count.
...
- Use a barrier to sync thread start.
Ok yamt@.
2008-03-21 16:03:33 +00:00
yamt
9ff0d7c13c
test select(2).
2008-03-21 12:27:12 +00:00
ad
2dc7c918f0
A test for the lwpctl preemption counter.
2008-03-12 11:02:21 +00:00
dholland
4ac721efa3
MKMAN should not be in source makefiles. Use NOMAN.
2008-03-09 22:44:41 +00:00
dholland
3bcd570495
No, it's not wrong after all. Sorry about the churn. I am going to adjust
...
bsd.own.mk so you can find NOMAN (and friends) with grep. Fixes PR 37750,
again.
2008-03-09 22:35:17 +00:00
dholland
a3ab568637
Revert previous; it is wrong. Unfixes PR 37750.
2008-03-09 21:38:13 +00:00
dholland
1e8742be01
Use NOMAN=, not MKMAN=no. PR misc/37750 from Johan A. van Zanten.
2008-03-09 21:22:29 +00:00
dholland
794833ef2c
Make this smarter still, so it folds multiple names for the same port
...
together (and drops duplicate names entirely) like services_mkdb now
does. PR lib/37711.
2008-03-09 01:31:07 +00:00
dholland
678f3eced6
Make this smarter; diff the output instead of just wc'ing it.
2008-03-08 23:32:38 +00:00
jwise
6d94a6eac7
Don't try to build these tests as part of a MKPIC=no build, they won't build.
2008-03-02 16:01:14 +00:00
lukem
1f09f2e309
Use mkstemp() instead of mktemp().
...
Use snprintf() instead of sprintf().
Improve error reporting.
2008-03-02 12:51:59 +00:00
ad
e6ac0b80ac
Fix uninitialized variable that caused this to fail spuriously.
2008-02-29 16:28:12 +00:00
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
martin
e26aa3fe3e
backout previous - needs more investigation
2007-06-01 17:15:19 +00:00
martin
0b39ba0208
This LDFLAGS setting looks like a copy&pasto
2007-06-01 16:54:11 +00:00
christos
be230fb632
moved to libc/ssp
2007-05-31 21:52:31 +00:00
christos
5d8aa4c7a5
ssp is now part of libc.
2007-05-31 21:51:48 +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
tls
ac86b16c1e
disable libssp regress until Christos fixes it
2007-05-30 19:49:49 +00:00
he
0dd2f4778a
Descending into ld.elf_so only makes sense if ${MKPIC} != "no".
...
Fixes build for sun2.
2007-05-23 09:39:53 +00:00
dogcow
980bf56bd3
fallout from si_sigval -> si_value
2007-05-21 20:18:01 +00:00
christos
81ef0c79d1
s/si_sigval/si_value/ From Blair Sadewitz.
2007-05-21 20:02:40 +00:00
christos
21135a4e5e
Add .WAIT and shlib_version. From Kurt Schreiner
2007-05-20 16:14:59 +00:00
christos
99535082df
More makefile fixes
2007-05-19 20:52:03 +00:00
christos
a118ee6dde
use MKMAN=no
2007-05-19 15:39:01 +00:00
christos
1f70ed77a6
use MKMAN=no, ad CVSID, from Kurt Schreiner
2007-05-19 15:38:06 +00:00
christos
d4ba6c5809
tests for $ORIGIN
2007-05-18 21:41:38 +00:00
christos
497d3aa994
Regression test for RTLD expansion code.
2007-05-18 20:28:11 +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
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
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
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
apb
d9afa12b42
A field with a null custom heading retains a minimum width derived
...
from the default heading. Add a test for this. src/bin/ps/keywords.c
revision 1.47 failed this test, but revision 1.48 passes.
2006-10-02 19:18:30 +00:00
apb
524fe13df1
Add ps to SUBDIRS in regress/bin.
2006-10-02 17:59:45 +00:00
apb
6c7dcc02eb
Add regression tests for bin/ps. At present, the only feature
...
tested is the selection of columns and headings, especially
via the -o option.
2006-10-02 17:59:00 +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
reinoud
0b421a6019
Fix `make clean' bug... the file might not be present
2006-09-21 17:33:08 +00:00
reinoud
95e6648004
Use multiple stat() functions since their result can also be different.
2006-09-21 17:26:24 +00:00
reinoud
b32f83b095
Update lseek test to make it a bit more clever in printing sizes and remove
...
file size test.
2006-09-21 13:12:45 +00:00
reinoud
d2a1b4304c
Create a file to be tested; in the current directory so thats not super but
...
better than relying on a file that might not exist.
2006-09-21 01:54:15 +00:00
reinoud
a06f598ad6
Add simple lseek() test on a standard file. Standard it runs on the
...
/var/log/messages file wich is most likely not interesting but the
regression test can work on every specified filingsystem by passing a file
on that filingsystem to it as argument.
It tests:
- initial position
- seeking absolute position
- seeking end
- seeking negative relative position
more can be added later.
2006-09-21 01:27:32 +00:00