Commit Graph

1692 Commits

Author SHA1 Message Date
jruoho
ce711fc79d Avoid zero-length format string. 2012-04-17 06:23:52 +00:00
jruoho
681aa38aee Adjust. 2012-04-17 05:18:54 +00:00
christos
2e74a3b7d6 simplify 2012-04-15 03:05:57 +00:00
jruoho
f03351f948 Add few more NICs. 2012-04-14 15:13:57 +00:00
jruoho
0a7b1257ab Fix RCS string. 2012-04-14 12:43:05 +00:00
jruoho
0953dc8744 Add a test case for PR kern/46328 (tested naively with tcpdump(8)). 2012-04-14 12:21:45 +00:00
pgoyette
d2616fb0aa The k_helper3 program does not need to be (and shouldn't be) installed
in its own subdirectory.
2012-04-14 02:46:17 +00:00
pgoyette
84c6871a07 Let's get it right this time. 2012-04-13 15:02:37 +00:00
pgoyette
bfea36353b Put k_helper3 in the correct location. 2012-04-13 14:54:39 +00:00
njoly
d2c0752725 Do not re-add -mieee option on alpha, it's already set by default. 2012-04-13 12:31:19 +00:00
jruoho
e49dc377ca Add a helper program that loads a module and returns the errno from modctl(8).
XXX: As noted on tech-kern@, the syscall should be modified to fail
     consistently with a given predefined errno on non-MODULAR kernels.
2012-04-13 07:05:32 +00:00
jruoho
144c5468dc Although this does not fail, add a case for the discussion in PR bin/46327. 2012-04-13 06:12:32 +00:00
jruoho
93242fdaae Xfail on qemu unconditionally after all. 2012-04-13 06:10:55 +00:00
jruoho
6c8d572a17 Reduce the number of snprintf(3) invocations, as sparc/qemu timeouts. 2012-04-11 16:21:42 +00:00
jruoho
1fea472283 Flip previous (i386/qemu fails, not the amd64/qemu). 2012-04-11 16:18:39 +00:00
jruoho
a141b66fc2 Revisit the previous: fails on qemu/amd64 but not qemu/i386. 2012-04-11 10:18:25 +00:00
jruoho
3964c8242c As it turned out, the fpsetmask(3) tests were unnecessarily skipped on Qemu.
Thus, remove xfails that do not trigger.
2012-04-11 06:45:16 +00:00
jruoho
fd6c1df52d Do not skip the tests on Qemu, but point to PR misc/44767 instead. 2012-04-10 12:43:06 +00:00
jruoho
97f06f6fb9 Point to port-macppc/46319 when failing on macppc. 2012-04-10 03:59:59 +00:00
jruoho
a74ccce819 Test that sysctl(8) does not segfault, as reported by pgoyette@ on current
users.
2012-04-10 02:39:33 +00:00
martin
4e00857f25 Fix asynchronous posix_spawn child exit status (and test for it). 2012-04-09 19:42:06 +00:00
martin
94b761b6aa Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat
2012-04-08 11:27:44 +00:00
jruoho
8c481fc14f Append few basic test cases. 2012-04-08 09:58:59 +00:00
jruoho
ff8307152c Remove one xfail that does not seem to fail (on alpha). 2012-04-08 09:36:04 +00:00
jruoho
68f1ec4f2e Point to PR port-alpha/46301 when failing on Alpha. 2012-04-06 08:07:32 +00:00
jruoho
018955d46b Adjust. 2012-04-06 07:53:10 +00:00
njoly
7e04109e7f New testcase that check file flags with unprivileged credentials. 2012-04-04 18:53:34 +00:00
joerg
b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
joerg
be8014a7fa Try fixing t_strtod to not depend on -ffloat-store by adding the
necessary volatiles.
2012-04-04 10:52:59 +00:00
joerg
114f211aa1 Be UTF8 clean. 2012-04-04 10:03:53 +00:00
jruoho
4970a4c570 Note PR bin/14558. 2012-03-31 11:41:33 +00:00
njoly
bd5752189c Add sleep to the list. 2012-03-30 15:49:24 +00:00
jruoho
47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho
2090d7b596 Adjust as per apb@'s suggestion. 2012-03-29 08:56:06 +00:00
jruoho
06f1efeb34 Few fundamental consistency checks for the abs(3) family. 2012-03-29 06:16:56 +00:00
jruoho
38e01d9198 There was also atoll(3). 2012-03-29 05:56:36 +00:00
jruoho
0d64217da5 Few naive consistency checks for the atoi(3) family. 2012-03-29 05:42:31 +00:00
jruoho
9ca3e29208 Apparently there is a CVE coming for the bug, so append that to a comment. 2012-03-28 10:38:00 +00:00
jruoho
53263fa593 Add a small test that checks that random(3) does not always return zero when
the RNG is initialized with zero. Prompoted by the recent nasty bug in the
OpenBSD libc.
2012-03-28 10:33:57 +00:00
jruoho
2e3d44b8f5 Fix another type in the metadata. 2012-03-27 17:57:02 +00:00
jruoho
63dad69a2e Fix typo. 2012-03-27 12:32:47 +00:00
jruoho
4f5cd33ee1 Mark the failing tests as broken. XXX: If no one is willing to maintain
the ipf tests, these should be removed.
2012-03-27 09:27:33 +00:00
jruoho
651e2c6948 Add regression tests for the 1990s bugs PR bin/3538 and PR bin/4841. 2012-03-27 08:16:33 +00:00
njoly
015162ac4e Adjust the memset size to not override the nul byte at the end of buffer
array.
2012-03-27 07:54:58 +00:00
jruoho
1e806afd68 Append a case for (fixed) PR bin/25899. From Min Sik Kim. 2012-03-27 07:39:00 +00:00
jruoho
32204f9f4d Add a check for old PR bin/2486. 2012-03-27 07:23:06 +00:00
njoly
22d3abd7be Now that permissions for msdos have been fixed, kill times() special
case which was wrong.
2012-03-26 15:13:20 +00:00
njoly
346de04ed8 Initialise permissions mask to a sensible value (0755).
While here convert leading spaces to tabs.
2012-03-26 15:10:26 +00:00
christos
9c65f155f8 PR/43597 was fixed 2012-03-25 18:50:19 +00:00
christos
ec4d512c60 ksh trap has been fixed. 2012-03-25 17:30:59 +00:00
christos
ea65e6a5bc PR/41558 has been fixed. 2012-03-25 16:31:51 +00:00
christos
14758c77e1 PR/41061 fixed 2012-03-25 16:10:13 +00:00
joerg
010e9a3d31 Be UTF8 clean. 2012-03-25 08:17:54 +00:00
joerg
b753e46cc9 Use array access 2012-03-25 06:54:04 +00:00
christos
52485d00ca use check_eq instead of require. 2012-03-25 04:11:42 +00:00
matt
9b85f61f61 Only descend into ipf if MKIPFILTER != "no" 2012-03-24 01:36:50 +00:00
matt
c5d3880df0 If one of the tests with eps fails, print the failing eps. 2012-03-23 23:45:31 +00:00
matt
c76c9d1fc1 Use SCHAR_{MIN,MAX} for signed char, not CHAR_* since not char are signed. 2012-03-23 23:12:28 +00:00
christos
22ab6602b0 Update to the tests from 5.1.1 2012-03-23 23:08:00 +00:00
njoly
16fc5c7678 Extend times testcase to check for non null time values too. 2012-03-23 09:58:23 +00:00
christos
f6f28fd5c6 dholland fixed PR/44927 2012-03-22 18:20:46 +00:00
njoly
299c989a28 Remove unneeded atf_tc_expect_pass calls. 2012-03-20 18:20:49 +00:00
jruoho
585bdc4958 Add missing text file. Pointed out by P. Welche. 2012-03-20 17:13:44 +00:00
jruoho
2447f335ab Note PR bin/12838. 2012-03-20 06:30:02 +00:00
jruoho
327776ba0b Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
all fixed long time ago.
2012-03-20 06:18:33 +00:00
jruoho
a4f8c0aaa1 Skip Xen. XXX: There should be a reliable way to detect MODULAR. 2012-03-20 05:50:11 +00:00
jruoho
128cf91305 Remove xfail. 2012-03-20 05:21:45 +00:00
jruoho
f910850c47 As noted by christos@ in rev. 1.4 to t_awk.sh, the "period" test has been
broken all along. Fix expected output (tested on Linux, GNU awk 1.3.3).
2012-03-19 13:07:23 +00:00
jruoho
570dcaf1ea Remove check. 2012-03-19 12:58:41 +00:00
jruoho
3a662fafc9 Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago. 2012-03-19 07:05:18 +00:00
jruoho
2f989692b9 Add a case for PR bin/41061. 2012-03-19 06:39:22 +00:00
jruoho
9e07384eff Add a case also for (fixed) PR bin/42261. 2012-03-19 06:21:53 +00:00
pgoyette
0f64aba0db Finish removing the block of commented-out code from rev 1.31
Hello, christos!
2012-03-19 03:33:54 +00:00
christos
59c51f5cec annotate fixed failures as comments. 2012-03-18 21:49:08 +00:00
christos
3ff17a1b71 say what happened. 2012-03-18 21:23:57 +00:00
jruoho
a2e1561fa4 Add a better check for the previous. 2012-03-18 19:21:53 +00:00
jruoho
0a932255df Also verify that PR bin/44179 is no longer an issue. 2012-03-18 19:11:30 +00:00
jruoho
fe87c5542d Now that this works, test also some random exit statuses. 2012-03-18 18:32:16 +00:00
dholland
8412f6f617 Remove xfail as PR 44973 is fixed. (Note that it was Nat Sloss who did
the work of figuring out what was wrong.)
2012-03-18 18:09:45 +00:00
dholland
a837eb4f62 Add some tests for selection of line ranges, based on a case that came
across the POSIX list a few days ago and some related phenomena.
2012-03-18 15:35:27 +00:00
christos
27215b2b59 test the __type macros 2012-03-18 15:30:59 +00:00
jruoho
1ff69b68e3 Add a case for PR bin/44973. 2012-03-18 12:40:42 +00:00
jruoho
6ab4862c83 Verify that bin/25693 is no longer an issue. 2012-03-18 11:50:55 +00:00
jruoho
0498995f9f Add a test case for PR bin/28126. Does not fail with GNU sed. 2012-03-18 10:12:30 +00:00
jruoho
543143cf18 Move more PR references from comments to ATF's "descr". 2012-03-18 09:46:50 +00:00
jruoho
4fac6e71e4 Add missing copyright and remove white space. 2012-03-18 09:31:50 +00:00
jruoho
e626461e72 Add a case for PR lib/41558. It is unclear whether this is a bug, but at
least it is documented now. Probably it would be better to follow Linux,
where the test case does not fail.
2012-03-18 08:52:07 +00:00
jruoho
a6bc77fdcc Verify that PR lib/22019 is no longer an issue. 2012-03-18 08:13:57 +00:00
jruoho
68b903fe8f Add a test case for the old NetBSD 2.0 era PR lib/28324. 2012-03-18 07:33:58 +00:00
jruoho
72ed5c064e To be on the safe side, use the category/number notation when referring to
PRs (otherwise third-party sed-scripts might miss the references). Also
remove white-space.
2012-03-18 07:14:08 +00:00
jruoho
8b18a8bf82 Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.
2012-03-18 07:00:51 +00:00
jruoho
4022a4fac5 Get rid of the weird macros. 2012-03-18 06:20:51 +00:00
christos
540890c60f this should be fixed. 2012-03-18 02:14:16 +00:00
christos
bb806cfddc The problem has been fixed and the test is broken. awk always uses the
C locale for LC_NUMERIC.
2012-03-17 23:22:59 +00:00
christos
5d71dc0bd6 mention the PR# in the description like everyone else. 2012-03-17 21:33:13 +00:00
christos
5a7b3f43e8 this does not fail anymore 2012-03-17 21:31:29 +00:00
christos
c0e9e1ef0b this has been fixed. 2012-03-17 20:12:09 +00:00
christos
10f65af6f8 annotate the PR that failed, and has been fixed. 2012-03-17 20:10:08 +00:00
christos
4ad00d05fc This does not fail anymore. Explain why the test was modified. 2012-03-17 20:06:46 +00:00
hannken
0207daf65f Starting with Rev. 1.191 of kern/subr_pool.c a pool has to be inactive
for at least 10 seconds before it can be reclaimed.

Change the uvmwait test timeout from 10 to 30 seconds so it has a chance
to reclaim memory and succeed.
2012-03-17 18:00:28 +00:00
jruoho
d2d68b21f3 Add '-e ignore" to atf-check(1) and remove xfail. Pointed by njoly@. 2012-03-17 17:39:44 +00:00
jruoho
0a082b37fe Move the _lwp_ctl(2) preemption counter check to the right place. 2012-03-17 17:23:34 +00:00
jruoho
ad9dcd3c99 Deprecate tests/toolchain. 2012-03-17 17:15:28 +00:00
jruoho
6aa27f04c2 Add few basic tests for realpath(3). 2012-03-17 16:40:14 +00:00
jruoho
28604916d4 Deprecate tests/util. 2012-03-17 16:33:10 +00:00
nakayama
83109d5c7b Use toolchain awk to make them buildable on Solaris 10. 2012-03-17 12:42:31 +00:00
jruoho
4608dbc06e PR kern/46077 was fixed; remove xfail. 2012-03-17 08:37:08 +00:00
jruoho
a43eb6ed04 PR bin/42179 was fixed; remove xfail. 2012-03-17 08:34:55 +00:00
matt
a030baf591 Allow testing of exec pages on PowerPC BookE.
Make return_one actually do the right thing.
2012-03-16 08:51:47 +00:00
matt
e04c99d5d7 This is no longer expected to fail. 2012-03-16 08:14:11 +00:00
matt
ae11ed12ab Don't rely on INT_MAX being unmapped. Use mmap to get a page and then unmap
it.  Then use that address for msync.
2012-03-16 06:15:17 +00:00
njoly
a3a0bab7f9 Add another testcase that check setting file times with unprivileged
credentials.
2012-03-15 12:57:27 +00:00
joerg
66dd2755f5 Add __printflike attribution to use vprintf and friends with an argument
as format string.
2012-03-15 02:02:20 +00:00
joerg
a42982fe46 Fix format strings to properly quote %. 2012-03-15 01:44:44 +00:00
joerg
861f8848de Mark w_printf as __printflike and fix a format string error. 2012-03-15 01:44:07 +00:00
jruoho
520158817c Skip the ENOMEM/RLIMIT_MEMLOCK case when doing mlockall(2). 2012-03-14 11:50:52 +00:00
jruoho
c8e82969d6 Use atf_tc_skip(). 2012-03-13 06:37:03 +00:00
jruoho
96d2b606cc A modctl(MODCTL_STAT, ...) always succeeds, even in non-modular kernels such
as Xen domUs. Thus, refactor the code to detect non-modular kernels; when the
other operations (MODCTL_LOAD or MODCTL_UNLOAD) fail specifically with ENOSYS,
this is taken as a hint about non-modularity and the test is skipped.
2012-03-13 05:56:46 +00:00
jruoho
9ddb6ab554 PRs bin/41880 and bin/26453 were fixed, so remove xfails. 2012-03-13 05:40:00 +00:00
joerg
e07445e070 Also exercise pthread_attr_setstacksize. 2012-03-12 20:17:16 +00:00
jruoho
6c201d9091 Remove xfail, as PR kern/44946 was fixed. 2012-03-12 08:14:02 +00:00
njoly
d6926b0191 Use ATF_CHECK_ERRNO in setrlimit_perm(). 2012-03-11 23:26:22 +00:00
martin
f3d00566b6 Temporarily remove awk subdir, untill jruoho sorts out the recent commits
to the proper dir.
2012-03-11 22:19:53 +00:00
jruoho
21ea49cf59 Skip the tests even if modctl(2) does not fail specifically with ENOSYS. 2012-03-11 19:33:17 +00:00
jruoho
c140670d99 Deprecate tests/util/awk. 2012-03-11 18:38:15 +00:00
jruoho
d4c54b86b3 Move the existing tests from util/awk to usr.bin/awk. 2012-03-11 18:35:59 +00:00
jruoho
b0fb6f41df And finally, fix boolean logic in the previous. 2012-03-11 06:36:05 +00:00
jruoho
fdacd78abe Fix previous: curiously enough, i386/qemu is not affected, so use the
"system(3) hack" to identify Qemu.
2012-03-11 06:32:53 +00:00
joerg
049fba3c32 No more -lrumpkern_ksem. 2012-03-10 21:58:49 +00:00
jruoho
f24e4366aa Point to PR port-i386/46108 when failing on i386. 2012-03-10 20:11:01 +00:00
christos
59e51bc4e6 fix typos. 2012-03-10 19:19:24 +00:00
christos
f70bd5ce19 PR/46155: Miguel Piñeiro Jr: awk RS handling is broken. Add the test cases
from the PR.
2012-03-10 19:08:56 +00:00
joerg
7baa2850f5 It is perfectly valid for sem_wait to be interrupted, so loop on EINTR. 2012-03-09 19:46:37 +00:00
joerg
7d36dfce1b PR 43452 no longer applies. 2012-03-09 14:25:34 +00:00
joerg
4acff4c01b Implement sem_timedwait. 2012-03-08 21:59:24 +00:00
joerg
d1de8de689 Remove libpthread's semaphore implementation and always use the kernel
one. The implementation doesn't provide an async-safe sem_post and can't
without a lot of work on the pthread primitives.

Remove bogus time out requirement in test case, it should have been
a "known failure" if anything.
2012-03-07 23:31:44 +00:00
jruoho
75a00e2db4 Check the error values from listen(2), incl. case for standards/46150. 2012-03-07 07:24:05 +00:00
jruoho
c8dfa194fd A test case for serious PR kern/38889: crash on open/mmap/close of block
device. The test case is skipped for the time being as it replicates the
panic described in the PR (tested on NetBSD/amd64 6.0 BETA).
2012-03-06 11:02:55 +00:00
jruoho
7ee67ae065 A test case for PR kern/46077: fstat() returns EINVAL on dup'd connected
socket. Expected failure on NetBSD x86, 5.0 - 6.0. Does not fail on Linux.
2012-03-06 10:32:15 +00:00
pgoyette
a885f06423 Remove an escape sequence that was introduced by accident. 2012-02-28 08:58:39 +00:00
jruoho
b949b4c07e Fix wrong type. 2012-02-28 06:09:48 +00:00
christos
0eef4e1ec0 add a test to verify that snprintf float does not leak. 2012-02-26 23:14:26 +00:00
joerg
3069ef674a Restrict -ffloat-store to t_strtod.c. 2012-02-24 14:02:55 +00:00
joerg
37f2635c65 Fix obvious code issues and remove the original -Wno-error for clang
builds to not hide them in the future:
(1) Don't use a pointer to a local variables if all that is done is
comparing it against NULL. The function itself works fine for that
purpose.

(2) Initialise the fail counter, giving the test a chance to work
reliably.
2012-02-24 13:53:46 +00:00
martin
45d535a7b7 Add a test case to call posix_spawn with empty file actions, which reproduced
the (now fixed) PR kern/46038.
2012-02-20 12:22:40 +00:00
jmmv
1cf12d0216 Add a test to ensure that PAGE_SIZE is available in kernel modules.
This test reproduces the error condition in PR port-macppc/46041 and
therefore it is an xfail in this particular platform.
2012-02-17 22:36:50 +00:00
christos
3fa39ef91e add positional argument tests 2012-02-17 20:17:38 +00:00
perseant
ed08fe6512 Pass t_renamerace and t_rmdirrace tests.
Adapt dholland@'s fix to ufs_rename to fix PR kern/43582.  Address several
other MP locking issues discovered during the course of investigating the
same problem.

Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes
are controlled by the segment lock.

Fix PR kern/45982 by deemphasizing the estimate of how much metadata
will fill the empty space on disk when the disk is nearly empty
(t_renamerace crates a lot of inode blocks on a tiny empty disk).
2012-02-16 02:47:54 +00:00
riz
f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
martin
c785063d3d Comment out test n3_6 - the data files are missing 2012-02-14 09:17:22 +00:00
martin
1e1d6ed3ce Add a few more posix_spawn testcases, which should detect everything that
was wrong in the initial version, causing the failure reported in
PR kern/45991.
2012-02-14 00:13:54 +00:00
bouyer
5ba1d99f10 When I split non-quota-specific functions out from ../ffs/quotas_common.sh
I forgot to ajust this test.
Fix PR bin/46015
2012-02-13 22:40:43 +00:00
martin
0ce98f42a7 Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libc
and kernel, but that is an implementation detail unrelated to the tests
themselfs.
Ok: releng
2012-02-13 21:03:06 +00:00
darrenr
b13c836b86 Update ipf test suite with test cases from IPFilter 5.1.1 2012-02-13 18:52:53 +00:00
dholland
2569366154 Update reference output to match yesterday's fix. ok martin@ for releng 2012-02-13 17:55:12 +00:00
wiz
6150642599 Add RCS Id. 2012-02-13 08:55:20 +00:00
jruoho
f91f485fa7 Fix wrong error failure message. 2012-02-13 05:09:01 +00:00
jruoho
31fc3f8772 Polish the path names a little. 2012-02-13 04:48:21 +00:00
jruoho
5c0797982c Add a small note about the directory structure. 2012-02-13 04:43:25 +00:00
martin
19f52532ad Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
2012-02-11 23:31:22 +00:00
njoly
c4210b25ef Add a testcase which checks that directory permissions are honored for
file creation/deletion with unprivileged credentials.

releng ok.
2012-02-09 18:31:03 +00:00
matt
fcaa0c3257 Change eps to fit within the VAX FP range. 2012-02-05 17:52:55 +00:00
dholland
f9735fd481 Reimplement repquota -x to print in tabular form instead of XML. 2012-02-01 05:12:45 +00:00
njoly
dcea8cfc3c owner testcase now succeed with rumpfs. 2012-01-31 19:02:49 +00:00
njoly
8e54f08b1f Check directory write access for DELETE operation. And while here,
small indentation adjust.
2012-01-31 18:56:07 +00:00
njoly
dc7e929d73 Adjust MEMFREE expected output to recent kmem(9) changes. 2012-01-30 13:05:52 +00:00
rmind
b82e29ffe8 tsleep(9) no more. 2012-01-28 12:23:56 +00:00
christos
f6647173db add a signopipe test 2012-01-28 02:47:09 +00:00
njoly
24d0234070 unpriv owner test now pass for sysvbfs. 2012-01-27 21:53:50 +00:00
para
89c9828deb converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
2012-01-27 18:52:47 +00:00
christos
1897181a72 From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@
2012-01-22 18:36:14 +00:00
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