Commit Graph

2684 Commits

Author SHA1 Message Date
ozaki-r
d94096e467 Ignore case in duplicated 2016-09-16 00:50:43 +00:00
ozaki-r
a59969fd67 Ignore case in deprecated 2016-09-16 00:44:14 +00:00
ozaki-r
2393c05ab0 Adjust for new ifconfig output
And use -o match to provide informative error messages.
2016-09-16 00:14:33 +00:00
christos
5642b8b65f Ignore case in deprecated/anycast 2016-09-14 16:18:31 +00:00
christos
12f0b47e19 adjust for new ifconfig output. 2016-09-14 16:00:10 +00:00
ozaki-r
cdc78b3fe9 Fill old_len which is required by sysctlbyname 2016-09-14 03:19:11 +00:00
knakahara
8db6a4e495 Disable rechallenge for chap test case.
NetBSD's PPPoE client doesn't support chap rechallenge yet.

From Shoichi YAMAGUCHI<s-yamaguchi@IIJ>, Thanks.
2016-09-14 01:48:08 +00:00
christos
a893ddcd72 add a chap test; need to investigate what's wrong with it... 2016-09-12 14:47:24 +00:00
christos
7366e78839 need bsd.init.mk 2016-09-10 11:04:24 +00:00
christos
781b35a2d5 PR/51461: Mateusz Poszwa: Processes hang when attempting to read from an empty file on psshfs mount, add unit test:
When a process attempts to read from an empty file originating from
psshfs mount, it waits indefinitely. Until the hanged process is
interrupted, the mounted filesystem appears to work as expected,
except for the directory containing the empty file. Processes trying
to list that directory also hang, and cause misbehaviour of the
containing directory.  It is possible to create a chain of hanged
processes trying to read directories up to the mount point. At the
same time, psshfs generates some network traffic (around 5KB/s, in
my case). Interrupting the first hanged process causes emission of
an error message by all other hanged processes, and psshfs ceases
to generate network traffic. Subsequent trials to list any affected
directory or if one of the affected directories is the mount point
to unmount the filesystem, fail with the same error.
2016-09-05 08:53:57 +00:00
ozaki-r
6217615c26 Add some tests
We need more realistic tests.
2016-09-05 04:35:46 +00:00
ozaki-r
9457c93fed Remove a unexpectedly committed file 2016-09-05 04:17:13 +00:00
ozaki-r
13445aedf0 Add very basic tests for tun devices 2016-09-05 02:26:48 +00:00
maya
c31c23a665 Add failing test for casinh 2016-08-31 14:05:09 +00:00
kre
7760e6f963 PR kern/49033
POSIX allows for the atime (or technically, any of the times) to be
updated as a side effect of searching a directory (allows, not requires).
The NetBSD UDF implementation apparently works that way, treating a
directory search as a read of the directory, and hence updating the
access time.   Compensate for that in the test (rather than just
expecting failure) by verifying that the atime after the directory
search is within a small margin of the atime before the search
(currently, "small" is 1 second).   We could fetch the time before
the mkdir and both stat() calls, do all of that, fetch the time after,
subtract, and require the after stat() atime to be bounded by the atime
set by the original mkdir and returned in the first stat() and that time
+ the difference in elapsed time - that would be more accurate, but is
a lot more work for little real benefit.

Should anyone be interested in doing that extra work, remember to use
monotonic time (clock_gettime(CLOCK_MOMNOTONIC, ...)) not the time of day
clock for measuring the elapsed time.

Along with this, remove the "if (udf) failure expected" and the
if (udf && we haven't failed yet) fail("random failure failed to happen")
stuff...  (the "random" would have been that sometimes the mkdir and
two lookups (stat() calls) would all occur within the same clock tick,
meaning that the atimes would all be the same.  Other times the clock
would tick somewhere between the mkdir() and the 2nd stat().)
2016-08-29 02:31:46 +00:00
christos
eb8cf8dd65 house-cleaning 2016-08-28 15:59:15 +00:00
christos
7e1ddeefad skip if we are not running rpcbind. 2016-08-27 14:36:22 +00:00
christos
b8c6512fdd don't disable PIE 2016-08-27 14:23:54 +00:00
christos
2cf6e96d2a needs mprotect disable since it loads kernel code and relocates it. 2016-08-27 14:21:07 +00:00
christos
dd0e0080d2 adjust to current config format 2016-08-27 12:08:14 +00:00
christos
4b0d182541 catch up with link printing. 2016-08-27 11:30:49 +00:00
christos
237ae380ee do the long double tests if we have long double. 2016-08-27 10:07:05 +00:00
christos
a530c482ac Fix static linking. 2016-08-27 08:38:58 +00:00
christos
6af98352e6 forgot to protect an ilogbl 2016-08-26 08:01:55 +00:00
darcy
36a840f64a Replace MKMAN with NOMAN as suggested by christos@. Allows
userland to build when building man pages.
2016-08-26 01:31:43 +00:00
maya
2b773534df Add a failing case for t_ldexp
ldexp(2.0, INT_MAX) should be HUGE_VAL, not 0
2016-08-25 00:32:31 +00:00
maya
d63d11005c don't skip the entire test iteration if exp2=SKIP, only the second
application of the function

this doesn't introduce new failures on amd64
2016-08-25 00:26:01 +00:00
christos
68ba093a6e fix test; clearing the exception does not return the old exception bitmask. 2016-08-24 10:04:53 +00:00
christos
b0fbbd46fc fix long double 2016-08-24 09:13:44 +00:00
christos
f1061bbd2c no functional change 2016-08-23 16:03:45 +00:00
christos
73ff5dffc3 portability fixes 2016-08-23 10:03:44 +00:00
maya
16cf37a656 Mistakes were made, compare correct values now. 2016-08-22 10:36:20 +00:00
maya
7e38ec308c add failing test for PR lib/51427
ilogb(INFINITY)=-INT_MAX, it should be INT_MAX

while here, test raised exceptions, other values.

XXX some platforms don't have exceptions
2016-08-22 08:49:33 +00:00
christos
03f6cc7066 fix wrong variable. 2016-08-21 13:23:36 +00:00
christos
b4ed6943ac add missing library dependencies. 2016-08-20 17:06:18 +00:00
christos
951bbb9df8 provide an RL variant that prints an extra argument 2016-08-20 15:49:08 +00:00
christos
0ca6f6b287 - use snprintf
- print the argument that caused the error
2016-08-20 15:48:18 +00:00
christos
080051aa7f Add union cast test 2016-08-19 10:21:50 +00:00
christos
fa75a57426 new test for struct that only has anon members, and that the size of struct
is computer right.
2016-08-18 14:45:56 +00:00
jakllsch
d7cdc3c29e t_usbhid/check_hid_get_data has been failing since it existed, mark as such 2016-08-17 12:10:42 +00:00
jakllsch
d0b2f20734 These clock_subr tests are no longer expected to fail. 2016-08-17 12:06:49 +00:00
roy
9fcb01a336 Fix test_lo6 because ::1 now has RTF_LOCAL assigned to it. 2016-08-16 10:34:12 +00:00
jakllsch
64d64ddcb3 tests for sys/dev/clock_subr.c 2016-08-14 14:55:41 +00:00
christos
db9b3c4eff order netinet6 properly. 2016-08-13 11:22:11 +00:00
christos
02d61e3495 order network libraries properly. 2016-08-13 11:21:06 +00:00
christos
c8a27b7a24 The required initialization order for net rump net services is:
rumpnet rumpnet_net [rumpnet_netinet6] rumpnet_netinet.
We need rumpnent_net first because of if_init1() and to initialize loopback.
2016-08-13 11:20:00 +00:00
kre
408b946945 Correct use of incorrect errno - should have no real practical effect. 2016-08-11 21:34:11 +00:00
kre
82205f76b1 One more -lrumpdev 2016-08-11 21:29:44 +00:00
kre
5bee7fb413 + -lrumpdev 2016-08-10 23:49:03 +00:00
kre
674d7cd1f8 + -lrumpdev 2016-08-10 23:47:14 +00:00