Commit Graph

1371 Commits

Author SHA1 Message Date
tsutsui 6df52306d4 Invoke a shell script via ${HOST_SH} rather than assuming exec bits. 2012-01-20 15:06:47 +00:00
bouyer 9427679519 Make parts of the quota tests useable for more than quotas:
- rename h_quota2_server to h_ffs_server, there's nothing about quotas
  in there.
- extract non-quota parts of quotas_common.sh to ffs_common.sh
2012-01-18 20:51:23 +00:00
joerg 71d0bcc69f Introduce __HAVE_NO___THREAD for sun2 and vax to disable the TLS usage.
Require __HAVE_TLS_VARIANT_I or __HAVE_TLS_VARIANT_II as well as
__lwp_getprivate_fast / __lwp_gettcb_fast to exist for libpthread.
Define VAX as going to use TLS variant I, if it is ever implemented.
2012-01-17 20:34:57 +00:00
christos 3b23191359 PR/44196 is now fixed, so don't expect a failure. 2012-01-13 16:28:44 +00:00
martin f330f9aa31 ATF_REQUIRE_ERRNO() needs to be used with care:
- pass the expected errno to it, not "errno"
 - make sure to have errno set already before invoking the macro, i.e.
   do not use it to test errno changes as side effect of the asserted
   expression

Spotted by mlelstv, makes the epoch tests correctly fail on amd64 as
well.
2012-01-07 15:05:22 +00:00
christos e3abe87712 crypt does not return NULL anymore. 2011-12-28 22:07:40 +00:00
christos 332223360f Proper copyright, RCSID. 2011-12-27 01:24:27 +00:00
christos 07d8486a79 Add a test for crypt salts. From:
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/glibc/crypt_freesec.c
From Solar Designer
2011-12-27 00:47:23 +00:00
christos 9fa2ffcc71 add 2 more tests, sort 2011-12-25 20:16:05 +00:00
christos 6ac73dbd87 correct install dir 2011-12-21 01:56:16 +00:00
christos 013de02143 Add a test for the latest fifofs fix. 2011-12-21 00:17:06 +00:00
joerg d1de422af2 Remove unused variable 2011-12-18 22:51:00 +00:00
christos 28aeeb58ed test timer expiration. 2011-12-18 22:25:20 +00:00
apb 7cf05991c0 Add some tests for dates several centures into the past and future.
These currently fail, but I'll fix that soon.
2011-12-17 19:07:34 +00:00
apb e09f33bae5 Add some tests for timegm(3) close to the epoch. In
particular, 1969-12-31 23:59:59 should convert to (time_t)-1
with errno = 0.
2011-12-17 19:04:07 +00:00
joerg 1b3763c684 Remove bogus check that (a) depends uninitialised memory (b) overflows a
buffer.
2011-12-12 23:54:18 +00:00
joerg 3d408b5932 Don't try to figure out how the stack grows at run time. It's not
portable and fails badly if the test function is removed...
2011-12-12 20:55:44 +00:00
njoly 973e485533 Start making fs read(2) fail with EISDIR if the implementation does
not allow read on directories (kernfs, rumpfs, ptyfs and sysvbfs).
Adjust man page accordingly, and add a small corresponding vfs
testcase.
2011-12-12 19:11:21 +00:00
skrll 50e2e69cd2 Give the child more time to timeout, etc. 2011-12-12 10:56:46 +00:00
joerg 5222739a75 Test LD_PRELOAD for stack alignment as well. This exposes issues on
AMD64.
2011-12-11 14:57:07 +00:00
skrll 0afe51b354 Give my slow, old hardware more time to complete bsize_ffactor. 2011-12-10 17:50:19 +00:00
njoly 826079e36b Remove expected failure now that PR/44708 is fixed. 2011-12-06 18:18:59 +00:00
christos 54a5bd4b8f add missing dev_disk library for getdiskinfo. 2011-12-01 21:54:10 +00:00
christos 408524dea5 Add a test for the kernel snprintf. 2011-11-24 01:46:40 +00:00
cheusov 91dbf71977 Regression tests for awk(1) (PR 44063) 2011-11-22 20:22:09 +00:00
joerg 9cf8fb38ac Add test cases for strcspn, strpbrk, strspn, wcscspn, wcspbrk and
wcsspn.
2011-11-21 23:50:44 +00:00
mlelstv ea28fb54a5 The compiler is allowed to use intermediate higher precision for float
arithmetic, which may cause differences smaller than float precision
but still much larger than eps = 1e-30.
Forcing intermediate results to volatile variables removes the excess
precision.
2011-11-19 12:46:41 +00:00
joerg a331e936fb Add some dependencies 2011-11-18 01:32:33 +00:00
joerg 3078de12ec Reorder to make GCC happy. 2011-11-17 16:39:11 +00:00
joerg cc2f98ece2 FreeBSD bug report 161344: TLS area for the main thread is set up to
early, if e.g. pointers to functions are used as initializers.
2011-11-17 16:20:11 +00:00
christos 3f01706e62 Add a test for PR/45618: Motoyuki OHMORI: kqueue EVFILT_TIMER with smaller
timeout value makes kernel busy or panic
2011-11-17 01:14:12 +00:00
christos 920a214f4e this works with much less memory too. 2011-11-16 18:37:31 +00:00
christos debcc396f0 add require.memory=500M 2011-11-16 17:47:19 +00:00
christos c7e2fd913b remove c3 and c4 2011-11-14 20:47:33 +00:00
christos c4bb320175 Add a test for PR/45613 (eval failing in a tested context) 2011-11-14 20:23:29 +00:00
jmmv 06f3e60d63 Add tests to ensure that the new asm examples build and run, just as the
end-user is supposed to work with them.
2011-11-12 01:19:25 +00:00
jruoho 8e19d9277e Fix typo. 2011-11-11 05:06:01 +00:00
jruoho 074fcac079 Fix wrong format string. 2011-11-11 05:03:38 +00:00
christos 5607c3d45b add a large timeout for libtre 2011-11-09 15:14:44 +00:00
jruoho 945d534b41 Few naive checks for cpuset(3) and ftok(3). 2011-11-08 05:47:00 +00:00
christos 334ef7a14f make the standard tests optional. 2011-11-06 19:45:37 +00:00
christos 2c2ad6b65c Hook in the libtre tests 2011-11-06 18:43:51 +00:00
christos 9ac3865ca8 Disable the basic tests for now. 2011-11-06 18:42:53 +00:00
christos a8ac67be00 XXX: Limit repetitions to something tiny so TRE can handle the exhaust test. 2011-11-06 18:37:40 +00:00
christos 60e5ed2c64 skip the association that does not match with our implementation. 2011-11-06 18:35:22 +00:00
christos 53528ec223 - Print the symbolic error using regerror, as well as the pattern that caused
it.
- Add the ability to set the number of repetitions in the pattern from
  cpp since TRE handles things poorly:
	- It runs the machine out of memory with rep=9 (we use rep=9999)
	- It truncates the pattern with rep=9999
2011-11-06 18:34:48 +00:00
christos 8ff45b318b ability to select associativity 2011-11-06 18:32:39 +00:00
christos ea54479e81 - Handle TRE
- Make BUG comments print.
2011-11-06 18:32:17 +00:00
christos 102413b584 leave all tests in and have the awk script select which ones are appropriate. 2011-11-06 18:31:30 +00:00
christos 87ec57a977 Add the AT&T regex tests 2011-11-06 17:02:33 +00:00