summaryrefslogtreecommitdiffstats
path: root/tests/runfiles/linux.run
diff options
context:
space:
mode:
authorLOLi <[email protected]>2018-04-19 18:45:17 +0200
committerBrian Behlendorf <[email protected]>2018-04-19 09:45:17 -0700
commitb4555c777a0be3c0dba29662d278c57099c60a87 (patch)
tree5e2c2e713a6c9d38ba9d5b993009be1419f39084 /tests/runfiles/linux.run
parent599b8648133738b524ff4c58a72fc744b62fe142 (diff)
Fix 'zfs remap <poolname@snapname>'
Only filesystems and volumes are valid 'zfs remap' parameters: when passed a snapshot name zfs_remap_indirects() does not handle the EINVAL returned from libzfs_core, which results in failing an assertion and consequently crashing. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #7454
Diffstat (limited to 'tests/runfiles/linux.run')
-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 7e4a5a7c3..cb2c27553 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -203,6 +203,10 @@ tests = ['zfs_receive_001_pos', 'zfs_receive_002_pos', 'zfs_receive_003_pos',
'zfs_receive_raw_incremental']
tags = ['functional', 'cli_root', 'zfs_receive']
+[tests/functional/cli_root/zfs_remap]
+tests = ['zfs_remap_cliargs', 'zfs_remap_obsolete_counts']
+tags = ['functional', 'cli_root', 'zfs_remap']
+
# zfs_rename_006_pos - https://github.com/zfsonlinux/zfs/issues/5647
# zfs_rename_009_neg - https://github.com/zfsonlinux/zfs/issues/5648
[tests/functional/cli_root/zfs_rename]