opnsense-src/tests/sys
Alan Somers f928dbcb16 fusefs: fix the tests for a wider range of maxphys
maxphys is now a tunable, ever since r368124.  The default value is also
larger than it used to be.  That broke several fusefs tests that made
assumptions about maxphys.

* WriteCluster.clustering used the MAXPHYS compile-time constant.

* WriteBackAsync.direct_io_partially_overlaps_cached_block implicitly
  depended on the default value of maxphys.  Fix it by making the
  dependency explicit.

* Write.write_large implicitly assumed that maxphys would be no more
  than twice maxbcachebuf.  Fix it by explicitly setting m_max_write.

* WriteCluster.clustering and several others failed because the MockFS
  module did not work for max_write > 128KB (which most tests would set
  when maxphys > 256KB).  Limit max_write accordingly.  This is the same
  as fusefs-libs's behavior.

* Bmap's tests were originally written for MAXPHYS=128KB.  With larger
  values, the simulated file size was too small.

PR:		252096
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D27769
2020-12-28 18:56:17 +00:00
..
acl Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
aio AIO tests: update expected failure messages after r368265 2020-12-02 00:53:03 +00:00
audit Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
auditpipe Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
capsicum Temporarily skip failing test cases in CI: 2020-10-07 09:53:24 +00:00
cddl build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
common Add tests verifying IPv4/IPv6 output for TCP/UDP/raw paths. 2020-03-23 12:21:32 +00:00
devrandom Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
fifo Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests. 2020-05-20 17:48:18 +00:00
file close_range/closefrom: fix regression from close_range introduction 2020-04-13 17:55:31 +00:00
fs fusefs: fix the tests for a wider range of maxphys 2020-12-28 18:56:17 +00:00
geom build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
kern fdgrowtable_test.c: appease gcc 2020-12-11 22:52:16 +00:00
kqueue Enable timer tests in sys.kqueue.libkqueue.kqueue_test.main on i386 2020-04-22 09:53:41 +00:00
mac Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests 2020-05-02 20:14:59 +00:00
mqueue Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
net net tests: Re-enable most if_clone tests 2020-12-17 21:54:25 +00:00
netgraph New Netgraph module ng_macfilter: 2020-12-08 15:09:42 +00:00
netinet ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
netinet6 ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
netipsec ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
netmap Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
netpfil pf tests: Verify (tcp) checksum modification on unaligned options 2020-12-23 12:03:20 +01:00
opencrypto ossl: port to arm64 2020-12-04 21:12:17 +00:00
pjdfstest Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
posixshm posixshm_test.c: remove tautological checks 2020-12-11 22:52:20 +00:00
sys Revert r357246 2020-01-29 22:37:01 +00:00
vfs vfs_lookup: Allow PATH_MAX-1 symlinks 2017-11-17 19:25:39 +00:00
vm [tests] Fix unused variable warning in gcc 2020-11-13 18:50:24 +00:00
Makefile New Netgraph module ng_macfilter: 2020-12-08 15:09:42 +00:00
Makefile.depend
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00