]> git.proxmox.com Git - mirror_zfs.git/commit - configure.ac
Add 'zfs diff' coverage to the ZFS Test Suite
authorLOLi <loli10K@users.noreply.github.com>
Thu, 28 Sep 2017 20:04:14 +0000 (22:04 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 28 Sep 2017 20:04:14 +0000 (13:04 -0700)
commitb59b22972db5913000ca157c24a254182df8d957
treec2ae5ae4967d4c32af6cf0b52c66f9a5fe60b103
parent269db7a4b3ef2bc14f3c2cf95f050479cbd69e72
Add 'zfs diff' coverage to the ZFS Test Suite

This change adds four new tests to the ZTS:

 * zfs_diff_changes: verify type of changes diplayed (-, +, R and M)
 * zfs_diff_cliargs: verify command line options and arguments
 * zfs_diff_timestamp: verify 'zfs diff -t'
 * zfs_diff_types: verify type of objects (files, dirs, pipes...)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Wren Kennedy <john.kennedy@delphix.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #6686
12 files changed:
configure.ac
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_diff/.gitignore [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/socket.c [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh [new file with mode: 0755]