blymn
44d4aa2e2e
Incorrect licence was applied - fix this.
2011-04-11 09:02:02 +00:00
dholland
cdadb9ea2e
Fix obvious bug.
...
(note: this file still doesn't build on amd64)
2011-04-10 23:31:30 +00:00
jruoho
957fb2eb62
"wrong return value" -> "wrong errno".
2011-04-10 10:59:13 +00:00
jruoho
ba788ede8f
Currently known failures affect only amd64; adjust atf_tc_expect_fail().
2011-04-10 10:23:45 +00:00
blymn
bdd37afa3f
Add atf for libcurses with some tests
2011-04-10 09:55:08 +00:00
blymn
320b7b4d50
Add libcurses test
2011-04-10 09:49:13 +00:00
jruoho
5aac453263
A naive test case for getcwd(3).
2011-04-10 06:27:20 +00:00
jruoho
a63adaf81b
Add a test case for PR lib/41931 reported by he@. It was verified that these
...
fail on NetBSD 5.99.48 amd64 but pass on amd64 Linux (glibc 2.7).
2011-04-10 06:11:47 +00:00
pgoyette
324074b933
atf-ify the various locale tests
2011-04-09 17:45:24 +00:00
jruoho
5ebf352487
Adjust the test with stdin(3).
2011-04-08 15:25:00 +00:00
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
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
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
01072bafe8
Rename some tests. No functional change.
2011-04-05 14:04:42 +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
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
d19079bc52
Add missing __RCSID(3), again.
2011-03-30 17:03:02 +00:00
jruoho
2289b490a3
Add some naive tests for the efun(3) family of debug functions.
2011-03-30 17:02:17 +00:00
he
6596e091ec
Put tests depending on dlopen etc. under a test for MKPIC, and move
...
the corresponding entries in the set lists over to the shl.mi file.
This should bring the sun2 port back to a buildable state.
2011-03-30 11:43:15 +00:00
jruoho
a873c5cd55
Add missing __RCSID(3).
2011-03-30 08:34:19 +00:00
jmmv
e58081aa53
Halt the httpd server _before_ rump. Per pooka@'s suggestion.
2011-03-29 16:03:32 +00:00
jmmv
5bd1bce108
Make httpd create a pid file and use that to kill the server in a controlled
...
manner (instead of indirectly through rump.halt). Suggested by pooka@.
2011-03-29 15:43:45 +00:00
jmmv
255271589f
Extend pidfile(3) to support creating pid files in arbitrary locations.
...
If the argument provided to pidfile(3) contains a '/', then the value is
considered to be an absolute/relative path and the pid file is created
in the given location.
Otherwise, pidfile(3) behaves as before and treats the provided value as
a basename to construct a pid file in /var/run/<basename>.pid. This means
that to create a pid file named "foo.pid" in the current directory, one
must specify "./foo.pid".
2011-03-29 13:55:37 +00:00
jruoho
1b871e25a1
Add a test case for pthread_cond_timedwait(3) failures reported by
...
Sad Clouds in PR lib/44756. This was discussed also in:
http://mail-index.netbsd.org/tech-userlevel/2011/03/17/msg004689.html
2011-03-27 16:45:15 +00:00
jruoho
c90472ef80
Do not skip the QEMU bugs but instead mark these as expected failures.
2011-03-25 10:42:38 +00:00
jruoho
1604324802
Bluntly skip the tests that fail under QEMU. XXX: system(3) is used for this?
...
wnCVS: ----------------------------------------------------------------------
2011-03-25 10:00:31 +00:00
jruoho
0de4e7e46f
Fix typo.
2011-03-25 09:39:19 +00:00
jruoho
88c2989461
Add some basic POSIX conformance tests for sched(3).
2011-03-25 09:34:02 +00:00
jruoho
5f8b364626
Even these naive test cases caught one (QEMU?) bug; comment PR # 44767.
2011-03-25 04:26:41 +00:00
jruoho
43a75470f9
Sort.
2011-03-24 16:58:01 +00:00
jruoho
629e716a41
Add a naive test case for raise(3).
2011-03-24 16:56:37 +00:00
jruoho
57842fd3b4
Add dummy test cases for ceil(3) and floor(3). It is expected that at least
...
one of these will fail on guest x86_64 NetBSD under Qemu. Thanks to pgoyette@
for checking the broken floor(16.999999...) = 17.
2011-03-24 15:43:06 +00:00
jruoho
68f3621e3d
A dummy conformance-test for pthread_detach(3). I will extend this later.
2011-03-24 13:52:04 +00:00
jruoho
c3917926fd
A dummy conformance-test of pthread_equal(3).
2011-03-24 12:40:59 +00:00
joerg
081dffd915
Explicitly terminate threads to prevent crashes on exit.
2011-03-23 13:57:04 +00:00
jmmv
a6fb334d92
Clean up some late-night braindeadness:
...
- Make the pidfile name generation functions return their value as a return
value, not an output pointer. And homogenize these into a single function.
- Free allocated memory. Not truly necessary because the test cases die
immediately anyway, but nice to do.
- Remove the pidfile__ prefix from test case names. (This was in advance of
some changes I want to propose to pidfile(3), but it turns out my approach
was flawed. Preemptive smartness is evil!)
2011-03-23 09:13:54 +00:00
jmmv
f8d6f5f369
Add some tests for pidfile(3).
...
I want to touch this module to attempt a feature addition but I need some
tests beforehand!
2011-03-22 23:07:32 +00:00