mirror_zfs/tests/zfs-tests/include
Rich Ercolani b657f2c592
Corrected oversight in ZERO_RANGE behavior
It turns out, no, in fact, ZERO_RANGE and PUNCH_HOLE do
have differing semantics in some ways - in particular,
one requires KEEP_SIZE, and the other does not.

Also added a zero-range test to catch this, corrected a flaw
that made the punch-hole test succeed vacuously, and a typo
in file_write.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #13329 
Closes #13338
2022-04-20 16:07:03 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib tests: include: use already-set $UNAME instead of shelling out to uname each time 2022-04-01 18:02:59 -07:00
commands.cfg tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
default.cfg.in tests: standardise on no-arg uname with *) case for illumos 2022-04-01 17:54:52 -07:00
libtest.shlib Corrected oversight in ZERO_RANGE behavior 2022-04-20 16:07:03 -07:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00
math.shlib tests: include: math: simplify bc conditions, review $? 2022-04-01 17:59:24 -07:00
properties.shlib tests: remove unused functions 2022-04-01 18:03:05 -07:00
tunables.cfg log xattr=sa create/remove/update to ZIL 2022-02-22 13:06:43 -08:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00