mirror_zfs/tests/zfs-tests/cmd
Brian Atkinson f567d67fda
Adding ZTS test for O_APPEND
Commit 63b18e4 fixed an issue in zpl_aio_write() to make sure that
kiocb->ki_pos was updated correctly when opening a file with O_APPEND.
Adding a test to verify O_APPEND functionality with lseek can make
sure that all other distros/kernel versions also have the correct
behavior.

Also moved the threadappends_001_pos test into this append test
directory in functional ZTS directory. This way the two append tests
are together for organization purposes.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #13424
2022-05-11 08:38:16 -07:00
..
checksum tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
file Adding ZTS test for O_APPEND 2022-05-11 08:38:16 -07:00
linux_dos_attributes tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
.gitignore Adding ZTS test for O_APPEND 2022-05-11 08:38:16 -07:00
badsend.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
btree_test.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
chg_usr_exec.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
cp_files.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
ctime.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
devname2devid.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
dir_rd_update.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
dosmode_readonly_write.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
draid.c tests: cmd: draid: remove unused and undocumented -v 2022-04-13 11:36:29 -07:00
ereports.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
get_diff.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
getversion.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
libzfs_input_check.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
Makefile.am Adding ZTS test for O_APPEND 2022-05-11 08:38:16 -07:00
mkbusy.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mkfile.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mkfiles.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mktree.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mmap_exec.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mmap_libaio.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mmap_seek.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
mmap_sync.c Speed up WB_SYNC_NONE when a WB_SYNC_ALL occurs simultaneously 2022-05-03 13:23:26 -07:00
mmapwrite.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
nvlist_to_lua.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
readmmap.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
rename_dir.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
rm_lnkcnt_zero_file.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
send_doall.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
stride_dd.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
suid_write_to_file.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
threadsappend.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
truncate_test.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
user_ns_exec.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
xattrtest.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
zed_fd_spill-zedlet.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
zfs_diff-socket.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00