Commit Graph

889 Commits

Author SHA1 Message Date
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
skrll
0ffafee1bf GCC 4 requires -fno-reorder-blocks to ensure that RAS_START/RAS_END
covers the right bits of code in these tests.
2006-09-19 20:17:28 +00:00
kardel
6d944d24c9 correct usage() handling 2006-09-10 13:28:29 +00:00
kardel
2bd639915d rename index to idx to avoid shadowing index() 2006-09-10 13:21:46 +00:00
kardel
a246979d62 add time regression test directory 2006-09-10 12:23:10 +00:00
kardel
a2576338b4 exit early on negative time deltas 2006-09-10 11:46:57 +00:00
kardel
68a8ba43dc Add regression test to verify the monotonocity of the
CLOCK_REALTIME implementation
2006-09-10 11:37:04 +00:00
tsutsui
33a8df7bae ${.CURDIR}/sleeptest -> ./sleeptest for MKOBJDIR=yes case. 2006-09-09 12:20:07 +00:00
martin
f6e2a81ff9 Add -fno-reorder-blocks for gcc4, to avoid duplicate label definition
by RAS_END() - untill we find some better solution.
2006-09-02 21:27:41 +00:00
dsl
3c0e03d037 Add some more regression tests for stuff related to the recenty bugs.
Repeat after me 'run these tests before committing changes to /bin/sh source'.
2006-08-28 20:09:59 +00:00
dsl
1f9b387f1d Trailing non-whitespace IFS doesn't generate an empty parameter (any more). 2006-08-21 19:49:09 +00:00
jschauma
6af893ccbf allow each dir_to_dir test to be run individually without having to
rely on previous tests that set up the files and directories;
while here, clarify in each error message where exactly the error occurred
2006-08-15 23:01:22 +00:00
jschauma
2e841eed4b add a regression test for copying several subdirs into a target directory
where some subdirs already exist
2006-08-15 14:42:52 +00:00