]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: zfs_list_004_neg should not check paths that belong to ZFS
authorPalash Gandhi <pbg4930@rit.edu>
Thu, 11 Nov 2021 15:46:44 +0000 (07:46 -0800)
committerGitHub <noreply@github.com>
Thu, 11 Nov 2021 15:46:44 +0000 (08:46 -0700)
commit637771a066ba10083e818eb52d299e0d448f149b
treee8c354012890827e99bd8983bf31c4f7eac571a2
parentc23803be84cb5cc9d98186221f4106a9962dfc45
ZTS: zfs_list_004_neg should not check paths that belong to ZFS

When ZFS is on root, /tmp is a ZFS. This causes zfs_list_004_neg to
fail since `zfs list` on /tmp passes when the test expects it not to.
The fix is to exclude paths that belong to ZFS.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Palash Gandhi <pbg4930@rit.edu>
Closes #12744
tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib
tests/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh