aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorLOLi <[email protected]>2017-09-28 22:04:14 +0200
committerBrian Behlendorf <[email protected]>2017-09-28 13:04:14 -0700
commitb59b22972db5913000ca157c24a254182df8d957 (patch)
treec2ae5ae4967d4c32af6cf0b52c66f9a5fe60b103 /tests/runfiles
parent269db7a4b3ef2bc14f3c2cf95f050479cbd69e72 (diff)
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 <[email protected]> Reviewed-by: John Wren Kennedy <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #6686
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/linux.run4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index a83d1d68d..b4853586a 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -104,6 +104,10 @@ tests = ['zfs_destroy_001_pos', 'zfs_destroy_002_pos', 'zfs_destroy_003_pos',
'zfs_destroy_013_neg', 'zfs_destroy_014_pos', 'zfs_destroy_015_pos',
'zfs_destroy_016_pos']
+[tests/functional/cli_root/zfs_diff]
+tests = ['zfs_diff_changes', 'zfs_diff_cliargs', 'zfs_diff_timestamp',
+ 'zfs_diff_types']
+
[tests/functional/cli_root/zfs_get]
tests = ['zfs_get_001_pos', 'zfs_get_002_pos', 'zfs_get_003_pos',
'zfs_get_004_pos', 'zfs_get_005_neg', 'zfs_get_006_neg', 'zfs_get_007_neg',