martin
90ba9be35f
Add a test program for PR kern/47625, based on the sample code provided
...
by anthony mallet.
2013-03-08 10:33:51 +00:00
christos
f529593485
regression tests for wide char i/o. Currently there are failures.
2013-02-28 21:52:02 +00:00
christos
1790c3d9d5
remove the timeout; it is handled internally.
2013-02-28 15:56:53 +00:00
christos
1b48e11e47
skip the tests if rpcbind is not responding.
2013-02-27 18:39:58 +00:00
christos
d7abae09ac
Add a test for the rpc getaddr bug lib/13082.
...
Timeout added, but it needs rpcbind to be running to succeed.
2013-02-26 17:06:55 +00:00
jmmv
7d3a48f1d2
Hook Lutok into the build. This is all protected by the MKKYUA guard.
2013-02-16 21:40:05 +00:00
christos
d2ff78394b
don't brk the build.
2013-02-15 23:56:32 +00:00
christos
9bb501f7a5
look at my index finger
2013-02-15 23:27:19 +00:00
christos
81516a9702
- check the results of the vis functions
...
- zero output to make sure things work
- don't use encodings that don't work
- fix the style on decoding
2013-02-13 04:51:56 +00:00
christos
e40152f801
check the results of encoding and decoding
2013-02-11 04:12:48 +00:00
mbalmer
c826b564cf
exitting -> exiting.
2013-01-27 14:47:37 +00:00
christos
1f1bab53b7
rename the only use of HAS_SSP in the tree to HAVE_SSP.
2013-01-27 02:32:39 +00:00
christos
f564ab2a22
Don't include bsd.sys.mk; like sys.mk it is supposed to be used only
...
internally.
2013-01-26 21:58:41 +00:00
apb
a39eba5e76
Test parsedate("@-2",...) (should return -2 and not set errno);
...
and parsedate("@junk",...) (should return -1 and set errno).
We were already testing "@-1".
2013-01-19 15:21:43 +00:00
apb
58e1304b9b
* Test that parsedate("@0", ...) returns (time_t)0 regardless of timezone.
...
* Test that parsedate("@-1", NULL, NULL) returns (time_t)-1
without setting errno.
2013-01-19 14:03:08 +00:00
pooka
ef30804ef1
Use TESTS_SUBDIRS instead of SUBDIR to make these actually run.
...
Also, fixes build with /usr/xpg4/bin/sh
2013-01-14 13:37:57 +00:00
dholland
ab137c90f7
Revert defective O_SEARCH implementation committed by manu@ along with
...
the *at system calls on November 18th of last year. Reasons to revert
it include:
- it is incorrect in a whole variety of ways (but fortunately, one
of them is that the missing and improper permission checks have
no net effect);
- it was committed without review or discussion;
- core ruled that all the new O_* flags pertaining to the *at calls
needed to wait until their semantics could be clarified.
manu was asked to revert it on these grounds but has ignored the request.
I have left O_SEARCH defined and visible and made open() explicitly
ignore it. This way, most code that tries to use it will continue to
build and run. I've also arranged lib/libc/c063/t_o_search.c so that
the tests that make use of the O_SEARCH semantics will disappear until
O_SEARCH comes back, and fixed some mistakes and/or incorrect hacks
that were causing some of these to succeed despite the broken O_SEARCH
implementation.
2013-01-13 08:15:02 +00:00
martin
236eac060e
Remove check for GLOB_NOCHECK - the behaviour has been changed again, so it
...
will return a modified pattern.
2013-01-02 11:28:48 +00:00
christos
3f1c66c5a0
- make our stat function return ENOENT if a file is not found.
...
- add a GLOB_NOMATCH check
2012-12-18 01:37:28 +00:00
jruoho
f8b5dc2c31
Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs.
2012-12-04 06:57:44 +00:00
pgoyette
826c760e5d
Helper programs are programs, not tests, so build them appropriately.
...
Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
2012-12-02 17:36:10 +00:00
christos
b8815f50dc
Add a bitops test
2012-12-01 16:27:27 +00:00
martin
b954a04ff6
Skip kqueue_unsupported_fd if the drvctl device is not present.
2012-11-29 09:13:44 +00:00
christos
0156034a08
Add a test for adding an event to an unsupported fd.
2012-11-24 15:05:45 +00:00
martin
5873910091
Split the test cases where root/non-root makes a difference in two and mark
...
them apropriately. Exact permission semantics are still under discussion,
this will have to be cleaned up once that discussion is settled.
For now, one test cases fails.
2012-11-23 08:24:20 +00:00
martin
ee21bbfc8f
0-terminate strings returned by readlinkat
2012-11-22 20:17:48 +00:00
martin
d875702485
Compare against modification time instead of creation time - which we did
...
not set.
2012-11-22 14:59:59 +00:00
martin
13981c9510
Fix off by one in static array acces, use valid timestamps (ns part < 1e9),
...
just in case a filesystem would need to convert this to some other
representation.
2012-11-22 14:51:19 +00:00
martin
26d64ddcc4
Mark a few tests that require root
2012-11-20 20:01:14 +00:00
martin
0b640008be
Do not require tv_nsec to be != 0 but instead require equality with the
...
test value.
2012-11-19 16:07:56 +00:00
manu
a76c1cc17f
Add most system calls for POSIX extended API set, part 2, with test cases:
...
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
alnsn
062bf78a84
Build libbpfjit test to the build.
2012-11-11 17:41:31 +00:00
alnsn
65b4b42177
Add libbpfjit test.
2012-11-11 17:37:34 +00:00
pgoyette
922089c955
More clean-up, and adjust timing of kevent test to avoid issues with
...
PR kern/43887
2012-11-09 20:13:24 +00:00
pgoyette
8ff87897e6
Remove unnecessary header file and an unused variable.
...
Adjust timing parameters to reduce overall elapsed time, and document
the parameters.
Clean-up status handling for kevent test.
Deal with QEMU timer-related issues (PR-43997).
2012-11-09 04:43:25 +00:00
pgoyette
c75e6b56d0
Provide clear explanation of test-case failures.
2012-11-08 16:33:26 +00:00
pgoyette
57f73370f4
Remove a debug printf(), and fix the format in another.
...
Should resolve build break.
2012-11-08 04:58:44 +00:00
pgoyette
82f50f620a
Convert old src/regress/timer&waiter tests to ATF
2012-11-08 03:13:47 +00:00
pgoyette
251231b58b
Merge in the minimal test from the old src/regress/sys/kernel/sigtramp
...
test.
2012-11-07 16:51:16 +00:00
alnsn
ffd8736098
Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386.
2012-11-05 00:57:39 +00:00
alnsn
a9b4cc4551
Add userspace libsljit test. Not hooked into build yet.
2012-11-05 00:34:28 +00:00
christos
6298c31a51
add missing includes
2012-11-04 23:37:02 +00:00
skrll
2392c04529
Simplify
2012-09-27 09:56:21 +00:00
martin
d70931dac7
Add missing include <stdlib.h>
2012-09-27 08:19:18 +00:00
joerg
fe9380cfbd
Add regression test for cdbr(3) and cdbw(3).
2012-09-27 00:38:57 +00:00
christos
908d2159b9
make the test more precise.
2012-09-27 00:37:56 +00:00
joerg
aef403d694
Fix year.
2012-09-26 22:23:30 +00:00
jruoho
85dbe713e8
Remove expected failures that no longer fail (probably due a Qemu update).
2012-09-26 07:24:38 +00:00
joerg
2b3d1ee8a7
Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
...
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
blymn
a76c5dee4e
* Add scanw family function calls as input functions
2012-09-19 11:51:56 +00:00