Commit Graph

2277 Commits

Author SHA1 Message Date
martin 39780a1ced Cosmetics: hide an error message from sysctl (machdep.cpu_brand is not
available on most architectures)
2015-05-04 10:57:17 +00:00
christos 35d355f3ea - new test for strtoi
- namespace protection for strto{i,u}
- separate manpages for strto{i,u} from the ones for strto{u,}l
From: Kamil Rytarowski
2015-05-01 14:17:56 +00:00
ginsbach 7b940a5b54 Add hour tests as a standalone test case. 2015-04-28 16:06:09 +00:00
pgoyette 7f8653d8a0 Include better diagnostic info when a required key value cannot be retrieved from envstat -x 2015-04-23 23:23:28 +00:00
pgoyette 8f2064710d When exiting, provide a reason. 2015-04-23 04:49:37 +00:00
ginsbach 0b61b786a1 Make century and year conversion tests a standalone test case rather than
part of the "common" test case.
2015-04-22 13:15:30 +00:00
ginsbach fb89bad2cc Make seconds conversion tests a standalone test case rather than
part of the "common" test case.
2015-04-21 17:39:50 +00:00
ginsbach a5f68193b1 Add more detail to test descriptions. 2015-04-17 15:13:47 +00:00
riastradh d1c2f2cc13 Use <sys/rndio.h> for rnd ioctls. 2015-04-13 22:24:34 +00:00
riastradh 03d306e2dd Apparently I fixed t_unpriv:zfs_owner and didn't notice. 2015-04-09 19:51:13 +00:00
riastradh 3d61be1880 Advisory locking for zfs. 2015-04-09 19:47:05 +00:00
ginsbach 679713aac4 Split inet_addr(3) tests from t_inet_network into stand-alone t_inet_addr,
so that t_inet_network only contains tests for inet_network(3).
2015-04-09 16:47:56 +00:00
riastradh bc95daf1f6 Fix vattr_init_mask: mode is mode_t, not u_short.
Fixes fs/vfs/t_vnops:zfs_attrs test.
2015-04-09 05:32:53 +00:00
riastradh d0319a8396 Tests claim rename(..., "x/.") yields EISDIR, so do that. Fixes zfs. 2015-04-09 05:03:58 +00:00
riastradh 8aa34a7d8b Fix return code of rmdir(nonempty) in zfs: ENOTEMPTY, not EEXIST. 2015-04-09 05:02:28 +00:00
rtr cefecbaa6b fix typo bindinging -> binding 2015-04-05 23:28:10 +00:00
rtr f0da3f110d add another test program for connect(2) that checks that connect fails
with EAFNOSUPPORT (similar to the bind test) if the domain of the socket
does not match the address family of the supplied address.

test currently fails as it should
2015-04-05 23:17:41 +00:00
rtr a954fb5823 - ATF_REQUIRE(EINVAL == errno);
+       ATF_REQUIRE(EAFNOSUPPORT == errno);

as per http://pubs.opengroup.org/onlinepubs/009695399/functions/bind.html

while here remove some unnecessary initialization of port and addr members
and replace with a comment explaining why.
2015-04-05 23:15:54 +00:00
martin 4839e0f0d8 New test program for bind(2), with a single (currently eroneously failing)
test case from Tyler Retzlaff.
2015-04-05 06:36:52 +00:00
riastradh a26f29c67f Fix remaining read(fd, NULL, 1) cases. 2015-04-04 12:34:44 +00:00
christos a2bce09441 add test for typename as a function param 2015-04-03 21:37:26 +00:00
chopps 3fe0ea9c96 - Add new tests for -c check flag in resize_ffs 2015-03-29 19:37:02 +00:00
matt 1380094dbb add return_one_start 2015-03-29 00:38:36 +00:00
riastradh a9b674d150 Let I/O errors override inode update errors in UFS.
Fixes tests/fs/vfs/t_io:read_fault for UFS.
2015-03-28 17:45:47 +00:00
riastradh 7fc64193c5 This doesn't affect p2k_ffs after all, no idea why yet. 2015-03-28 16:39:31 +00:00
riastradh 9707ebf68d Test that read fails with EFAULT even if O_SYNC|O_RSYNC are set. 2015-03-28 16:17:25 +00:00
matt 6084fd3ca0 Update for new RISCV ABI 2015-03-28 07:07:54 +00:00
riastradh 8c0065db93 Make this run in NetBSD 6 by using st_mtimespec instead of st_mtim.
st_mtimespec is our traditional nonstandard name for what POSIX
called st_mtim in 2008, but these aren't going to run in non-NetBSD
anyway so using the nonstandard name shouldn't be an issue.
2015-03-24 23:24:55 +00:00
riastradh 1674867715 zfs tests don't actually need privileges. 2015-03-24 23:22:47 +00:00
isaki ec31227c02 one more white space -> tab. 2015-03-21 05:50:19 +00:00
isaki 47f8b9c01c Rewrite ilog2's test. PR lib/49745.
- Reorganize ilog2_basic to ilog2_32bit, ilog2_64bit and ilog2_const.
  ilog2_const is compile-time test for __builtin_constant_p() part of
  current ilog2() implementation.
- Remove fully meaningless ilog2_log2.  So this part of PR misc/44767
  is no longer present.
2015-03-21 05:32:07 +00:00
prlw1 a0b4c35b18 correct test name 2015-03-16 16:42:27 +00:00
isaki 787a0efa5b white space -> tab. 2015-03-14 07:23:46 +00:00
isaki 6abe86a4fd Reduce the number of loops.
It avoids timeout on slow machines, and I think that 100,000
times loop also satisfies the evaluation.
PR lib/49664 (no comments)
2015-03-07 09:59:15 +00:00
martin 0c9e453b20 Make sure to use the values calculated in the loop that is supposed to crash
the client process - so the compiler does not optimize it all away.
Also improve diagnostic in case of common bug: SIGSEGV instead of SIGBUS.
2015-02-28 13:57:08 +00:00
christos 19331afb8e add truncate causing signal test 2015-02-27 16:09:19 +00:00
martin b6df10e8a5 Bump timeout for a poll() call slightly, so the test has a chance to work
on slow machines.
2015-02-27 13:15:49 +00:00
martin 610137e5d4 Double the timeout (to 120s) for slower machines 2015-02-27 09:16:07 +00:00
martin 94d18b32c6 Double the timeout for sentev_basic to 600 seconds to make it work on
slower machines.
2015-02-27 08:55:35 +00:00
martin 2a86fa6804 2 seconds is too small as timeout on slow machines, bump to 10 (my hppa
needs ~5).
2015-02-27 08:30:30 +00:00
martin 88c71edd30 Bump timeout to 20 seconds for slower machines. 2015-02-26 13:06:10 +00:00
martin 270998d298 Do not use artificial low timeouts - slow machines might be still paging
in all the rump environment. Bump timeout from 4 seconds to 20 (my shark
needs ~9).
2015-02-26 13:03:21 +00:00
martin 237b5a2e3f bsize_ffactor takes *very* long to complete on some slower machines (maybe
we should investigate?).
Bump timeout up to 1800 seconds (my hppa machine takes ~1100).
2015-02-26 13:00:26 +00:00
martin dfdb00a60a Make the dummy data that we expect to go into .data section bigger,
otherwise on e.g. alpha it goes into the "small objects data" .sdata
section, which confuses the matching done in this test.
2015-02-17 11:51:04 +00:00
isaki b8d13981be m68k (except sun2) never issue SIGBUS on unaligned accesses.
PR lib/49653.  Thanks martin@.
2015-02-17 09:47:08 +00:00
alnsn 6d5b9045a5 Add two more libbpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:40:18 +00:00
alnsn e3ced4adff Add two more bpfjit_jmp_jeq_x_noinit_XX tests. 2015-02-14 22:34:33 +00:00
alnsn 4bf0e499d1 Replace accidentally committed test with libbpfjit_jmp_jeq_x_noinit_ax test. 2015-02-14 20:39:09 +00:00
alnsn 3228cf99a8 Improve libbpfjit_jmp_jeq_x test. 2015-02-14 20:29:36 +00:00
alnsn 73969c29cc Improve bpfjit_jmp_jeq_x test. 2015-02-14 20:25:08 +00:00