jruoho
a2963f40dc
Move the round(3) checks from 't_libm' to their own 't_round'
...
for consistency. Add -Wfloat-equal and fix comparisons.
2011-04-08 06:49:20 +00:00
jruoho
b63018ec52
Fix build failure on VAX.
2011-04-08 06:37:50 +00:00
jruoho
02dfa85f00
Remove the following (literal) text in the TNF copyrights:
...
* This code is derived from software contributed to The NetBSD Foundation
* by
*
XXX: If these originated from you and you want your name to be mentioned,
please add it.
2011-04-07 18:14:08 +00:00
jruoho
247203635d
Add few naive test cases for msync(2).
2011-04-07 17:38:02 +00:00
jruoho
a301260f35
Improve the test further so that it might trigger more often.
2011-04-07 17:33:11 +00:00
plunky
5a4807fa7d
whitespace police
2011-04-07 08:29:50 +00:00
plunky
77d265be45
link libbluetooth tests to the build
2011-04-07 06:24:07 +00:00
plunky
38293af7ee
add tests for the following libbluetooth functions
...
bluetooth(3)
bt_aton()
bt_ntoa()
sdp_data(3)
sdp_data_type()
sdp_data_size()
sdp_get_data()
sdp_get_attr()
sdp_get_uuid()
sdp_get_bool()
sdp_get_uint()
sdp_get_int()
sdp_get_seq()
sdp_get_alt()
sdp_get_str()
sdp_get_url()
sdp_match_uuid16()
sdp_put_data()
sdp_put_attr()
sdp_put_uuid()
sdp_put_uuid16()
sdp_put_uuid2(3)
sdp_put_uuid128()
sdp_put_bool()
sdp_put_uint()
sdp_put_uint8()
sdp_put_uint16()
sdp_put_uint2(3)
sdp_put_uint64()
sdp_put_int()
sdp_put_int8()
sdp_put_int16()
sdp_put_int2(3)
sdp_put_int64()
sdp_put_seq()
sdp_put_alt()
sdp_put_str()
sdp_put_url()
sdp_set_bool()
sdp_set_uint()
sdp_set_int()
sdp_set_seq()
sdp_set_alt()
[all pass on i386]
2011-04-07 06:21:57 +00:00
jruoho
93c4b96c53
Fix and improve as per suggestions from njoly@.
2011-04-06 19:09:16 +00:00
jruoho
64cf2356be
Add a test case for the segfault reported in PR lib/43964.
2011-04-06 17:41:27 +00:00
jruoho
710017dde4
As per PR lib/44818, remove 'lib/libpthread/t_status'. It takes two minutes
...
to rewrite this properly if someone misses this.
2011-04-06 16:04:16 +00:00
jruoho
c212c60925
Mark this also as expected failure.
2011-04-06 10:06:49 +00:00
jruoho
9827f0b4f3
Formally verify the numerous bugs in humanize_number(3).
...
From PR lib/44097, by yamt@.
2011-04-06 10:04:53 +00:00
jruoho
e254abd58b
A test case for PR lib/44057.
2011-04-06 09:35:49 +00:00
jruoho
e21f0b912e
As there is PR lib/42587, mark tiny POSIX error as expected failure.
2011-04-06 08:47:55 +00:00
jruoho
2ae856efaa
Verify the existence of PR lib/33262.
2011-04-06 07:25:34 +00:00
jruoho
e519fcc23a
Add heuristic evaluation of PR kern/30115.
2011-04-06 06:46:14 +00:00
jruoho
03fcec4259
Fix comment due explicit atf_tc_expect_fail().
2011-04-06 05:56:05 +00:00
jruoho
8cbe414029
Add few simple tests for getrusage(2), including heuristic for PR # 41734.
2011-04-06 05:53:16 +00:00
jruoho
1640c99fcf
Remove redundant memset(3) calls.
2011-04-06 03:47:14 +00:00
jruoho
6e7cc21a77
Fix small boolean oversight.
2011-04-05 19:06:09 +00:00
jruoho
28d491ccd9
Basic tests for setrlimit(2).
2011-04-05 19:02:22 +00:00
jruoho
01072bafe8
Rename some tests. No functional change.
2011-04-05 14:04:42 +00:00
martin
a6b6413efc
On 64 bit archs, if supported, also test -m32 binaries and their execution
...
(both static and dynamic).
XXX should the arch test and compiler support for -m32 test be moved to
init_test_cases, and the test only be added if supported?
2011-04-05 09:53:10 +00:00
jruoho
1cd1da49e9
Try to maintain the structure of libc and move 't_strtox' to 't_strtod'.
2011-04-05 08:24:28 +00:00
jruoho
e14810828f
Add simple test cases for ttyname(3), strtod(3), and getgrent(3).
2011-04-05 06:15:30 +00:00
jruoho
4b77c904f2
Mark this again as expected failure.
2011-04-04 19:59:08 +00:00
hannken
fff1c84c3d
Msdosfs on-disk meta data is not sufficient to create or validate file handles.
...
Maintain a tree of file handles, create nodes from msdosfs_vptofh() and keep
them until either the file gets unlinked or the file system gets unmounted.
Fixes the msdosfs part of PR #43745 (fhopen of an unlinked file causes problems
on multiple file systems)
2011-04-04 19:16:58 +00:00
jruoho
02a4a265f1
Use the same pattern for couple of simple setuid(2) tests.
2011-04-04 19:08:42 +00:00
jruoho
00f7056aa1
Add a test case for the POSIX (minimum) limits. Written by Stathis Kamperis.
2011-04-04 18:02:01 +00:00
jruoho
c0d6d28330
Couple of simple tests for umask(2).
2011-04-04 16:32:41 +00:00
plunky
370326ddcb
reinstate #ifdef PUFFSDUMP around otherwise unused function
...
which requires symbols from -lpuffs, not linked
2011-04-04 15:42:42 +00:00
martin
b78cd4dd7c
Do only set a (lower than default) timeout value if we are on powerpc and
...
expect to run into a real deadrun ofter.
The (too short) timeout otherwise makes slower archs fail.
2011-04-04 14:47:22 +00:00
jruoho
724a884379
Use _exit(2).
2011-04-04 10:30:29 +00:00
jruoho
bed8d3f065
Few simple tests for nice(3).
2011-04-04 09:52:17 +00:00
jruoho
f4dcfe215c
Add some basic tests also for getsid(2).
2011-04-04 08:19:08 +00:00
jruoho
ed26b97d53
Link the 't_timer' -test with pthread(3). Should fix the test failures.
2011-04-04 08:05:37 +00:00
jruoho
1f0f2f9e9c
Require an unprivileged run with atf_tc_set_md_var(). Pointed out by njoly@.
2011-04-04 07:16:29 +00:00
jruoho
275df5bf05
Two basic tests for getpid(2).
2011-04-04 06:48:04 +00:00
jruoho
412d5e96fe
Check for getuid(2) == 0.
2011-04-04 01:49:45 +00:00
jruoho
c257514ed7
Remove leftover <stdio.h> include.
2011-04-03 16:22:15 +00:00
jruoho
597629b945
Add couple of simple tests for access(2) and mprotect(2).
2011-04-03 16:12:45 +00:00
hannken
032b3dee5f
Fix file handle operations for tmpfs by removing a now bogus test and
...
fixing the return value of tmpfs_fhtovp() in the not-found case.
When vmlocking2 was merged to head (Jan 2008 !!) the inode numbering was
changed. Before inodes were numbered 2..tm_nodes_max-1 and after the
merge the numbers are derived from the nodes memory address.
Fixes PR #43605 (tmpfs file handles are broken)
2011-04-02 14:24:53 +00:00
joerg
b50095d784
Don't fail on platforms without TLS
2011-04-02 12:53:32 +00:00
hannken
5515232cfd
Make zero length symlinks work on tmpfs.
...
Fixes PR #43843 (tmpfs dies with kassert panic for 0 length symlink target)
2011-04-01 17:40:54 +00:00
joerg
a7e14ae77f
Add initial regression test for ld.elf_so locking.
2011-03-31 23:34:47 +00:00
jruoho
35a190a334
Add couple of simple tests for dup(2).
2011-03-31 15:47:56 +00:00
jruoho
3cecf9f812
Add some basic tests for mmap(2), including one for the vm.user_va0_disable.
2011-03-31 13:07:20 +00:00
pooka
471b2e43aa
Make sure test doesn't pass if file system could not be read at all.
2011-03-31 12:56:03 +00:00
jruoho
e49416c442
Remove atf_tc_expect_fail(). Should be fixed.
2011-03-30 22:26:26 +00:00