jruoho
1701dae929
Happiness of VAX implies ugliness of the code.
2011-09-12 16:28:37 +00:00
jruoho
9a0782c38b
Be more systematic and coarse-grained.
2011-09-12 16:00:56 +00:00
jruoho
173345a5e4
Add more assertions.
2011-09-12 15:47:14 +00:00
jruoho
e409403697
Start systematic testing of libm(3) by first evaluating the corner cases
...
(NaN, +0.0, -0.0, +Inf, -Inf) for the ldexp(3) and scalbn(3) families.
2011-09-12 15:27:40 +00:00
jruoho
3ace9e826f
Add one more case. Also remove a double fclose(3) and do not
...
steal stderr(3) as atf(7) may use it in case of failures.
2011-09-12 04:23:29 +00:00
jruoho
f972aad29e
See that system(3) works.
2011-09-11 10:32:23 +00:00
jruoho
6629be1b13
Naive tests for the naive putc(3) family.
2011-09-11 09:02:45 +00:00
jruoho
4c55f62c75
Few unit tests for the fopen(3) family.
2011-09-11 07:31:20 +00:00
jruoho
1c183744f5
Couple of unit tests for fflush(3).
2011-09-11 05:15:55 +00:00
jmmv
7970eac628
It's ATFFILE=no, not NOATFFILE=true. This fixes the contents of the
...
installed Atffile, and allows the tests to actually run.
2011-09-08 18:44:38 +00:00
jmmv
5de965f758
Remove temporary file committed by mistake.
2011-09-08 18:27:01 +00:00
blymn
14cd7a9b79
- Add a delay just after the function is passed to the slave, this
...
gives the slave time to process the command and produce output before
the director drains output from the slave. This is particularly
important when the slave is set up for timed input because the ioctl
used by curses to set the tty parameters waits for pending output to
drain.
- make a debug statement conditional on verbose again
- make a warning about output from the slave conditional on verbose
- fix setting the minimum input delay, it should be milliseconds not
nanoseconds.
- Handle nanosleep returning early due to a signal, restart the sleep
with the remaining time.
2011-09-08 10:56:49 +00:00
plunky
87d4f6076b
Apply casts to cases where xdrproc_t is expected but is not
...
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
jruoho
537167411c
Remove some cruft that is no longer needed.
2011-08-29 17:39:54 +00:00
gson
4d457a688d
Track spacing changes of df.c 1.89
2011-08-29 17:31:41 +00:00
jruoho
86cc76e795
Remove Xfails that are related to the infamous qemu/amd64 floating point
...
bugs. It appears to be quite difficult to identify the exact Qemu version
and setup. These do not fail on the TNF's qemu/amd64 setup, which can be
taken as a reference point for expected failures.
2011-08-29 12:50:50 +00:00
christos
010ceb7a08
- err -> errx mistakes
...
- make sure that -v does not change the program behavior
- don't set revents in poll
- add more debugging
- only call read when we have POLLIN
- don't mix I/O from master while processing input
2011-08-29 12:49:37 +00:00
christos
45c0e7eb0b
fix bug where we read the same argument twice. Name the timeout val the
...
same 'tval' in both timeout routines.
2011-08-29 12:46:03 +00:00
christos
ee83fe41db
comment out racy test that I will not bother fixing for now.
2011-08-29 12:44:35 +00:00
christos
6247ed98ed
change comparend to compare so that this passes now.
2011-08-29 12:43:51 +00:00
christos
4ac2ea1b30
This could have never worked before since the syntax was wrong. Unfortunately
...
since I added the error checking, I was blamed for it failing. Go figure.
2011-08-29 12:42:57 +00:00
christos
e23c9e7ff0
we never get the b character since we timeout and drain!
2011-08-29 12:41:38 +00:00
christos
c029707cf1
make sure that our terminal has a consistent size now that terminfo obeys
...
the environment variables.
2011-08-29 12:40:59 +00:00
gson
364b5325bc
Fix remaining misaligned columns in golden output, missed in previous commit
2011-08-29 04:55:58 +00:00
gson
61dd722e5c
Golden output was not so golden after all
2011-08-28 19:09:34 +00:00
christos
df4f0e8339
remove strpct copts
2011-08-28 09:39:44 +00:00
mbalmer
c33b991f31
Fix build (strcpt fallout).
2011-08-28 09:02:51 +00:00
dyoung
dd4d60eb36
Build and install ppath(3) tests.
2011-08-27 18:55:51 +00:00
dyoung
199cc6c15a
Add tests for ppath(3).
...
TBD: hook into build and update set lists.
2011-08-25 19:09:46 +00:00
hannken
92eca745a6
t_fd/sigio: pass test if we receive at least one SIGIO signal.
...
While a real kernel collects these signals until the connect() returns and
then delivers one signal rump delivers every signal so we get more than one.
Ok: Antti Kantee <pooka@netbsd.org>
2011-08-25 18:46:01 +00:00
dholland
ef311a878c
Requires stdint.h.
2011-08-22 00:33:16 +00:00
riastradh
0ed1cdc740
Add test for `ln -s / foo && cd foo'.
2011-08-19 01:25:27 +00:00
riastradh
4b12d41728
No more xfail for PR kern/36681.
2011-08-18 21:44:55 +00:00
dholland
f5e6253528
Fix the errno tests so if someone messes up permission checks and it
...
fails, it won't trash your /root/profile. Instead, the victim will be
/usr/bin/fpr. This way it at least won't break the world.
XXX: this test should probably be testing such things in a rump namespace.
2011-08-18 19:48:03 +00:00
christos
3cb2c388bf
Fix enums confusion.
2011-08-18 02:44:45 +00:00
christos
7c3932bf25
document non-literal format strings
2011-08-17 16:57:13 +00:00
gson
e5c97dbc4f
As the sigio test case is currently failing with "sigcnt != 1", print the
...
actual sigcnt value to aid in diagnosing the problem.
2011-08-15 15:19:08 +00:00
riastradh
772f45cfc9
Cache vattr in psshfs's setattr.
...
This means within the cache window, a setattr that wouldn't change the
remote file's attributes from our current view of them will not be
relayed to the server and wait for the server to answer. Thus, e.g., a
process with a periodic timer interrupt that calls open(2) in a loop
can make progress with much higher probability than without caching.
XXX The test case doesn't work, so it's currently disabled. It needs
to stop the child of sshd that is handling an sftp session, not sshd
itself, and it's not obvious how to do that.
ok pooka
2011-08-12 04:14:00 +00:00
riastradh
c0f2eaa637
Need root for /dev/power.
2011-08-12 03:59:44 +00:00
uch
154297fd6a
add ATF tests for v7fs. patch by njoly@. thank you.
2011-08-11 10:52:12 +00:00
hannken
b80057eeb2
For devices, sockets and fifos ignore setting the file size to zero to make
...
open(..., O_TRUNC) happy and allow them to write through the lower layer.
Fixes PR #43560 (writing to null device in unionfs fails)
2011-08-10 06:27:02 +00:00
martin
2e58500e62
Add missing RUMP_SERVER export, so the "normal" test does not fail with
...
a stupid error.
2011-08-09 13:48:55 +00:00
rmind
a0ffc02ab8
Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN.
2011-08-07 14:03:15 +00:00
hannken
342315ffad
Change union rmdir semantics to fail directory removal for
...
non-empty directories like all other file systems do.
Change test accordingly.
2011-08-07 06:01:51 +00:00
hannken
efc3d2ec25
When union_lookup() creates a shadow directory and nameiop is not LOOKUP
...
it has to restart the lookup to get the componentname right.
Fixes PR #44383 (an endless stream of whiteout and opaque dir problems ...)
2011-08-05 08:17:47 +00:00
hannken
e8c9988bef
Make whiteouts work on journaling ffs file system by adding the missing
...
UFS_WAPBL_BEGIN() / UFS_WAPBL_END() around CREATE and DELETE ops.
Fixes PR #44377 (union whiteouts don't work on ffs -o log)
2011-08-03 10:03:51 +00:00
oster
bfb5c54728
Note that PR kern/44251 is fixed.
...
Add tests for normal configuration of RAID 1 and RAID 5 sets.
2011-07-29 19:57:38 +00:00
jruoho
16327d2721
As per PR bin/45180, do not traverse too deep.
2011-07-27 05:04:11 +00:00
christos
b7b6a059c7
make sum volatile to avoid printing
2011-07-24 14:00:36 +00:00
martin
04bb4b5206
gcc optimizes away the side effect free call to the "poke" function which
...
is supposed to smash our stack in this test case.
So: make it print out some dummy value based on the smashing changes.
2011-07-23 22:17:43 +00:00