Commit Graph

1556 Commits

Author SHA1 Message Date
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
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
christos
bb341c661e be less chatty. 2011-11-06 16:43:25 +00:00
christos
4161ff24cf moved below 2011-11-06 16:41:02 +00:00
christos
91c85f3431 moved because we cannot have multiple FILESDIR 2011-11-06 16:40:37 +00:00
christos
1fb803f0c7 more failed tests, perhaps I should move the data to a file, but how do
you open a file in ATF?
2011-11-06 16:26:54 +00:00
christos
57214080b8 Add tests from: http://www2.research.att.com/~gsf/testregex/ 2011-11-06 16:26:20 +00:00
jruoho
2f943d6432 Skip the test on sparc and point to PR port-sparc/45580. 2011-11-06 16:18:27 +00:00
christos
10382e8ffe Add the failed forced association tests. 2011-11-06 16:08:28 +00:00
christos
0a70be0425 Add the nullsubexpression tests. We mostly fail or don't support them.
Two of the tests actually cause the regex library to enter infinite
recursion.
2011-11-06 16:02:08 +00:00
christos
b6cafb52cb Add a bug section so we can skip tests that don't work. 2011-11-06 15:19:31 +00:00
christos
a65aa58ff6 Add a test harness for the att data files:
http://www2.research.att.com/~gsf/testregex/
Not part of the build yet.
2011-11-06 14:23:04 +00:00
christos
faa74d75ad add tests for \x and \xx 2011-11-06 03:38:16 +00:00
christos
ac0d856050 Arrange so that the same tests can be used by libtre. 2011-11-05 23:33:15 +00:00
christos
af83df9274 Add libtre tests but don't hook them up because they don't pass. 2011-11-05 23:32:51 +00:00
jruoho
48e7c88486 Add missing copyright ((c) @christos). 2011-11-05 19:01:42 +00:00
jruoho
56b331c000 Move connect(2), listen(2) and socketpair(2) tests to the right place. 2011-11-05 18:19:01 +00:00
jruoho
06b5587b18 Few naive checks for time(3). 2011-11-05 18:07:15 +00:00
jruoho
cc7aae5d85 Add printfs to see where TNF's qemu/sparc fails. 2011-11-05 08:49:24 +00:00
jruoho
fbcca3ea0f Fix some typos. 2011-11-05 08:47:54 +00:00
jruoho
62a65142c3 Add 21 unit tests for the XSI message queues. 2011-11-05 07:45:40 +00:00
christos
fcc088cd59 stylistic improvements. 2011-11-04 15:48:10 +00:00
christos
94a17dd165 socketpair test. 2011-11-04 02:23:39 +00:00
jruoho
cc154478ac Fix a test case to test what the comment says. 2011-11-02 06:04:48 +00:00
pgoyette
b9c0a62ba4 atf-ify ether_aton test 2011-11-01 22:36:53 +00:00
christos
9c67f9d994 make this work 2011-10-31 21:30:16 +00:00
pgoyette
7726fd7693 No need to keep on trying when this fails in the expected manner. We
really don't need to have 32k failures.


OK jruoho@
2011-10-31 18:37:01 +00:00
christos
eba0b3c2fd Move all pipe2 tests to a separate file. 2011-10-31 15:41:31 +00:00
mrg
f3383e2258 fix a build issue with MKCRYPTO=no. 2011-10-22 21:13:25 +00:00
christos
2bfe4d4dcb simplify. 2011-10-21 00:41:34 +00:00
njoly
0ab97f9b6a New testcase that check for close-on-exec flag on pipe2 syscall. 2011-10-20 18:20:30 +00:00
jruoho
ab2f2845b8 Add few basic checks. 2011-10-19 16:19:30 +00:00
njoly
ef82a331aa Add basic fpsetmask test to exercize setting/clearing bits. 2011-10-19 15:27:16 +00:00
jruoho
11bceb6a8a Reduce tolerance even more. 2011-10-18 14:16:42 +00:00
jruoho
b2508f4f43 Adjust and add some printfs. 2011-10-18 04:51:01 +00:00
njoly
d057ee05a2 Remove unneeded uneeded err.h include. 2011-10-17 17:58:43 +00:00
mbalmer
24e4901256 There is no doubt whether whether should have a 'h' after the 'w'. 2011-10-17 16:35:21 +00:00
jruoho
09e0db7e84 Remove 't_rint' as it was committed accidentally. 2011-10-16 13:43:26 +00:00
jruoho
720d37c338 As couple of checks fails on i386/qemu, reduce tolerance. 2011-10-16 13:42:22 +00:00
jruoho
b338bf9392 Remove atf_tc_skip() to see whether this still panics i386/qemu. 2011-10-16 08:28:10 +00:00
jruoho
d8db378021 Add t_sqrt and t_cbrt. 2011-10-16 08:25:55 +00:00
jruoho
9a2c9f3246 Basic checks for the root functions. 2011-10-16 08:25:40 +00:00
jruoho
a684ed294b Basic IEEE tests for the hyperbolic sine and cosine. 2011-10-16 07:40:47 +00:00
gson
4b51693338 Fix cut-and-paste-o that casused the raid1_normal test case to have no
cleanup function defined, resulting in a rump_server process hanging
around after the tests completed.
2011-10-15 11:31:40 +00:00
jruoho
45bcb64b3b Add few basic checks. 2011-10-15 07:38:31 +00:00
jruoho
d79436d44f Move the sigaction(2) test to the right place. 2011-10-15 07:00:48 +00:00
jruoho
d7cfdec1a4 Move the ucontext(2) test to the right place. 2011-10-15 06:54:52 +00:00
jruoho
e6064fc127 Move the writev(2) test to the right place. 2011-10-15 06:50:52 +00:00
jruoho
2a39986da0 Move the clock_gettime(2) timer test to the right place. 2011-10-15 06:42:16 +00:00
jruoho
175ae78538 Follow the design principles of tests(7) by merging 't_poll3w' to 't_poll'
as a test case instead of separate file.
2011-10-15 06:33:45 +00:00
jruoho
04c8b02c8d Move the mkdir(2) test to the right place. 2011-10-15 06:26:33 +00:00
jruoho
599acddbd9 Move the pipe(2) test to the right place. 2011-10-15 06:17:02 +00:00
jruoho
45e23a6a46 Move the posix_fadvise(2) test to the right place. 2011-10-15 06:10:26 +00:00
plunky
f65a48c2ec max WARNS is 4 2011-10-13 17:23:28 +00:00
dholland
2dc4a881d5 Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)
2011-10-11 23:04:21 +00:00
christos
5b9dde0010 - Use PROGS instead of PROG so that we can co-exist with TESTS_C
- Make the helper program compile again.
2011-10-10 04:32:41 +00:00
christos
80ee4a02c3 Add a test to check for DoS attacks against regcomp/regexec. From
Maksymilian Arciemowicz.
2011-10-09 18:21:08 +00:00
njoly
7557af291b Slightly adjust skipped messages, makes output more consistent. 2011-10-08 13:08:54 +00:00
njoly
0a1fcf8f89 USE_OWNER -> USES_OWNER for consistency with other macros. 2011-10-08 13:00:55 +00:00
joerg
26b851df1f Fix off-by-one error and simplify at the same time. 2011-10-07 13:39:33 +00:00
njoly
07e6e433cf Fix lint unrelated "set but not used" warning, to unbreak test. 2011-10-05 21:30:50 +00:00
christos
5d5cd00fc9 Fixed reversed/child parent and check the right variable for failure from
gson@
2011-10-04 16:28:26 +00:00
christos
4962000a12 Add new test. 2011-10-04 16:24:27 +00:00
martin
aeeeb7017f Fix typo in diagnostic output 2011-10-04 12:01:21 +00:00
christos
3608a76ca2 Fix the exceed test. 2011-10-03 14:55:23 +00:00
christos
07f6e1d3b5 remove stray underscore. 2011-10-02 18:34:17 +00:00
christos
4e3d131fd2 add a missing E 2011-10-01 21:47:08 +00:00
christos
0dd4f3a513 disable test on the vax until we fix it. 2011-10-01 18:38:39 +00:00
christos
1ef7da4f3d Undo previous, Checking for vax is more appropriate. 2011-10-01 17:56:11 +00:00
christos
2cbc70fcc3 no more ifdef vax 2011-10-01 17:54:13 +00:00
christos
789b17ab02 use _FLOAT_IEEE754 instead of vax. 2011-10-01 17:46:10 +00:00
christos
879077c683 add more tests. 2011-09-30 23:51:50 +00:00
christos
0abddc98e9 add symbolic name printing. 2011-09-30 23:46:15 +00:00
njoly
0ddf58db65 Do not try to open files up to the RLIMIT_NOFILE limit, which fails
when process limit is identical to the whole system limit. Just do it
for a small fixed value, and adjust the limit accordingly instead.
2011-09-30 21:08:19 +00:00
christos
4bea49e915 use ATF_CHECK_MSG instead of err() in atf. 2011-09-30 19:12:35 +00:00
christos
83ade10494 print stderr, when things go wrong. 2011-09-30 18:27:18 +00:00
christos
eb5e1b5450 Make the rounding test work properly, and actually test the rounding modes. 2011-09-30 17:44:58 +00:00
jruoho
cbbf4a4b63 Add expected failures for Qemu. 2011-09-30 14:50:20 +00:00
christos
216c13827a add back the raw test and fix typo in the libraries. 2011-09-28 23:11:12 +00:00
christos
2a89e8adcf revert part of previous that was wrong. 2011-09-28 22:19:52 +00:00
christos
e244cf19e9 fix error message 2011-09-28 22:08:12 +00:00
christos
9d31325887 Add a unix socket pathname size limit test. 2011-09-28 16:13:03 +00:00
jruoho
be8b5eb28c Define _PATH_CPUCTL. 2011-09-27 11:24:20 +00:00
christos
b0aa149fb2 Add an rfc6056 test. 2011-09-24 18:34:18 +00:00
christos
6f52d919ef Add a pty test, written by Matthew Mondor 2011-09-24 15:53:01 +00:00
jruoho
b78b168963 More bugs in pow(3); cases for PR port-amd64/45391. 2011-09-23 13:48:28 +00:00
mrg
520e58c432 only decent into crypto/tests if ${MKCRYPTO} != "no". (sets are probably
also broken, but i didn't get that far yet.)
2011-09-21 02:14:38 +00:00
jruoho
354930c19a Point to PR misc/44708 when failing. XXX: Remove once the test is fixed. 2011-09-19 06:38:02 +00:00
jruoho
6337efd6b4 Remove ieeefp subdirectory. 2011-09-19 05:42:13 +00:00
jruoho
9ebeca8a64 Move duplicate ldexp(3) test out from the tests/libc. 2011-09-19 05:40:38 +00:00
jruoho
4a45a29ad9 Move the tests/libc/ieeefp to tests/libc/gen to match the structure of libc.
Also rename the test files to gain functional scope.
2011-09-19 05:25:50 +00:00
jruoho
81fd6738d6 IEEE checks for the exponential family. 2011-09-18 05:19:18 +00:00
jruoho
9273f704b7 Add few basic checks. 2011-09-18 04:49:11 +00:00
jruoho
abfe6bc07d Reduce tolerance to see whether still acosf(cosf(x)) != x on i386/qemu. 2011-09-18 04:48:38 +00:00
jruoho
2b1d7604bf Remove ptrace(2) tests that are not yet ready but were accidentally
committed.
2011-09-17 18:53:31 +00:00
jruoho
9cbb4897e9 Simplify. 2011-09-17 18:52:21 +00:00
jruoho
e0a0895c11 IEEE checks for the arcus functions. 2011-09-17 18:08:35 +00:00
jruoho
6c414326e6 Add more cases. 2011-09-17 12:12:19 +00:00
jruoho
99d89af157 Few tests for the error functions. 2011-09-17 12:00:50 +00:00
jruoho
719ceba55f IEEE corner case tests for the pow(3) family (incl. PR lib/45372). 2011-09-17 08:15:43 +00:00
jruoho
ca5cfe7128 Reduce the powers. 2011-09-17 06:21:19 +00:00
joerg
301722b440 Do not care about dead functions for test cases, in this case it is
often enough just noise.
2011-09-16 16:30:18 +00:00
plunky
2b8aaed8cd NULL does not need a cast, here 2011-09-16 16:13:16 +00:00
blymn
2494728ef8 - Update the check files due to a bug fix in the slave code 2011-09-16 08:05:28 +00:00
jruoho
6ceed68f62 Adjust to see where this fails on i386/qemu. 2011-09-16 04:54:46 +00:00
christos
d4800a215d fix printf format strings 2011-09-15 16:25:17 +00:00
christos
a2221b9cd5 add the reentrant function tests (copies of the non-reentrant one). 2011-09-15 14:51:06 +00:00
blymn
6f8e29ad78 - Add erase and kill to the terminal attributes so we can test
fetching them
- Remove functions from the input_functions array that don't really do
  input
- Re-enable the reporting of poll events after a function call
- Check that the return_type from the slave matches the expected one
- If verbose then print out the byte streams being compared in
  validate_byte
- When reporting a length mismatch during a byte validation, report
  the actual lengths.
2011-09-15 11:53:12 +00:00
blymn
f47c5ad589 - add support for getparyx and getyx calls
- allow a NULL pointer to be returned to the director
- add support for passing back a single chtype character
- fix some indentation
- fix a lot of curses command calls that were just plain wrong
- don't try to allocate storage for a NULL parameter, it doesn't need it
2011-09-15 11:46:19 +00:00
blymn
82260c6d75 Remove the beep test for the moment, the return code does not conform
to SUSv2.  An update to the slave code will break this test until
beep() is fixed but that will require a major bump on the libcurses
library due to the interface change which is being deferred until all
the tests are done and all the interface changes can be batched up.
2011-09-15 11:36:43 +00:00
he
e2734790d2 #ifdef on __vax__ one more place, to avoid reference to tanf() for vax. 2011-09-15 11:05:50 +00:00
martin
2f1110cffe A test case may not assume opening /dev/tty does something sensible. 2011-09-14 14:34:37 +00:00
jruoho
484972bd18 Fix bug/oversight. 2011-09-14 13:47:40 +00:00
jruoho
ea461b7aa2 Additions to PR lib/45362: the float variants cosf(3), sinf(3), and tanf(3)
do not detect NaN for positive and negative infinity on i386 (qemu).
2011-09-14 13:29:58 +00:00
jruoho
8c901a0444 Use fabsf(3) when appropriate. 2011-09-14 06:50:43 +00:00
jruoho
8f667ecf71 Some tests for sine, cosine, and tangent. 2011-09-14 05:18:18 +00:00
jruoho
2cae26a144 Assign missing copyright to TNF.
XXX: If these originated from you, please modify accordingly.
2011-09-13 08:58:41 +00:00