atf_set "descr" "Verify that '$ZFS $mountcmd <filesystem>' succeeds as root."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_001_pos_body()
{
@@ -60,7 +60,7 @@
zfs_mount_002_pos_head()
{
atf_set "descr" "Verify that '$ZFS $mountcmd' with a filesystemwhose name is not in 'zfs list' will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_002_pos_body()
{
@@ -86,7 +86,7 @@
zfs_mount_003_pos_head()
{
atf_set "descr" "Verify that '$ZFS $mountcmd' with a filesystemwhose mountpoint property is 'legacy' or 'none' \will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_003_pos_body()
{
@@ -112,7 +112,7 @@
zfs_mount_004_pos_head()
{
atf_set "descr" "Verify that '$ZFS $mountcmd <filesystem>'with a mounted filesystem will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_004_pos_body()
{
@@ -138,7 +138,7 @@
zfs_mount_005_pos_head()
{
atf_set "descr" "Verify that '$ZFS $mountcmd' with a filesystemwhose mountpoint is currently in use will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_005_pos_body()
{
@@ -165,7 +165,7 @@
zfs_mount_006_pos_head()
{
atf_set "descr" "Verify that '$ZFS $mountcmd <filesystem>'which mountpoint be the identical or the top of an existing one \will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_006_pos_body()
{
@@ -192,7 +192,7 @@
zfs_mount_007_pos_head()
{
atf_set "descr" "Verify '-o' will set filesystem property temporarily,without affecting the property that is stored on disk."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_007_pos_body()
{
@@ -219,7 +219,7 @@
zfs_mount_008_pos_head()
{
atf_set "descr" "Verify 'zfs mount -O' will override existing mount point."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_008_pos_body()
{
@@ -245,7 +245,7 @@
zfs_mount_009_neg_head()
{
atf_set "descr" "Badly-formed 'zfs $mountcmd' with inapplicable scenariosshould return an error."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_009_neg_body()
{
@@ -275,7 +275,7 @@
zfs_mount_010_neg_head()
{
atf_set "descr" "zfs mount fails with mounted filesystem or busy mountpoint"
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_010_neg_body()
{
@@ -302,7 +302,7 @@
zfs_mount_011_neg_head()
{
atf_set "descr" "zfs mount fails with bad parameters"
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_mount_011_neg_body()
{
@@ -328,7 +328,7 @@
zfs_mount_all_001_pos_head()
{
atf_set "descr" "Verify that 'zfs $mountall' succeeds as root,and all available ZFS filesystems are mounted."
atf_set "descr" "Verify the u[n]mount [-f] sub-command."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_001_pos_body()
{
@@ -56,7 +56,7 @@
zfs_unmount_002_pos_head()
{
atf_set "descr" "Verify that '$ZFS $unmountcmd [-f] <filesystem|mountpoint>'whose name is not in 'zfs list' will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_002_pos_body()
{
@@ -82,7 +82,7 @@
zfs_unmount_003_pos_head()
{
atf_set "descr" "Verify that '$ZFS $unmountcmd [-f] <filesystem|mountpoint>'whose mountpoint property is 'legacy' or 'none' \will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_003_pos_body()
{
@@ -108,7 +108,7 @@
zfs_unmount_004_pos_head()
{
atf_set "descr" "Verify that '$ZFS $unmountcmd [-f] <filesystem|mountpoint>'with an unmounted filesystem will fail with return code 1."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_004_pos_body()
{
@@ -134,7 +134,7 @@
zfs_unmount_005_pos_head()
{
atf_set "descr" "Verify that '$ZFS $unmountcmd <filesystem|mountpoint>'with a filesystem which mountpoint is currently in use \will fail with return code 1, and forcefully will succeeds as root."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_005_pos_body()
{
@@ -160,7 +160,7 @@
zfs_unmount_006_pos_head()
{
atf_set "descr" "Re-creating zfs files, 'zfs unmount' still succeed."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_006_pos_body()
{
@@ -186,7 +186,7 @@
zfs_unmount_007_neg_head()
{
atf_set "descr" "Badly-formed 'zfs $unmountcmd' with inapplicable scenariosshould return an error."
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_007_neg_body()
{
@@ -212,7 +212,7 @@
zfs_unmount_008_neg_head()
{
atf_set "descr" "zfs unmount fails with bad parameters or scenarios"
- atf_set "require.progs" zfs
+ atf_set "require.progs" "ksh93 zfs"
}
zfs_unmount_008_neg_body()
{
@@ -238,7 +238,7 @@
zfs_unmount_009_pos_head()
{
atf_set "descr" "zfs fource unmount and destroy in snapshot directory will not cause error."
- atf_set "require.progs" zfs zpool
+ atf_set "require.progs" "ksh93 zfs zpool"
}
zfs_unmount_009_pos_body()
{
@@ -268,7 +268,7 @@
zfs_unmount_all_001_pos_head()
{
atf_set "descr" "Verify that 'zfs $unmountall' succeeds as root,and all available ZFS filesystems are unmounted."
atf_set "descr" "'zpool create <pool> <vspec> ...' can successfully createa new pool with a name in ZFS namespace."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_001_pos_body()
@@ -57,7 +57,7 @@
zpool_create_002_pos_head()
{
atf_set "descr" "'zpool create -f <pool> <vspec> ...' can successfully createa new pool in some cases."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_002_pos_body()
@@ -84,7 +84,7 @@
zpool_create_003_pos_head()
{
atf_set "descr" "'zpool create -n <pool> <vspec> ...' can display the configureationwithout actually creating the pool."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_003_pos_body()
@@ -111,7 +111,7 @@
zpool_create_004_pos_head()
{
atf_set "descr" "'zpool create [-f]' can create a storage pool with large numbers of vdevswithout any errors."
- atf_set "require.progs" zfs zpool
+ atf_set "require.progs" "ksh93 zfs zpool"
atf_set "timeout" 2400
}
zpool_create_004_pos_body()
@@ -138,7 +138,7 @@
zpool_create_005_pos_head()
{
atf_set "descr" "'zpool create [-R root][-m mountpoint] <pool> <vdev> ...' can createan alternate pool or a new pool mounted at the specified mountpoint."
- atf_set "require.progs" zpool zfs
+ atf_set "require.progs" "ksh93 zpool zfs"
atf_set "timeout" 2400
}
zpool_create_005_pos_body()
@@ -165,7 +165,7 @@
zpool_create_006_pos_head()
{
atf_set "descr" "Verify 'zpool create' succeed with keywords combination."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_006_pos_body()
@@ -192,7 +192,7 @@
zpool_create_007_neg_head()
{
atf_set "descr" "'zpool create' should return an error with badly-formed parameters."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_007_neg_body()
@@ -219,7 +219,7 @@
zpool_create_008_pos_head()
{
atf_set "descr" "'zpool create' have to use '-f' scenarios"
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_008_pos_body()
@@ -246,7 +246,7 @@
zpool_create_009_neg_head()
{
atf_set "descr" "Create a pool with same devices twice or create two pools withsame devices, 'zpool create' should fail."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_009_neg_body()
@@ -273,7 +273,7 @@
zpool_create_010_neg_head()
{
atf_set "descr" "'zpool create' should return an error with VDEVs <64mb"
- atf_set "require.progs" zfs zpool
+ atf_set "require.progs" "ksh93 zfs zpool"
atf_set "timeout" 2400
}
zpool_create_010_neg_body()
@@ -300,7 +300,7 @@
zpool_create_011_neg_head()
{
atf_set "descr" "'zpool create' should be failed with inapplicable scenarios."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_011_neg_body()
@@ -328,7 +328,7 @@
zpool_create_012_neg_head()
{
atf_set "descr" "'zpool create' should fail with disk slice in swap."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
}
zpool_create_012_neg_body()
{
@@ -345,7 +345,7 @@
zpool_create_015_neg_head()
{
atf_set "descr" "'zpool create' should fail with zfs vol device in swap."
- atf_set "require.progs" zfs zpool
+ atf_set "require.progs" "ksh93 zfs zpool"
}
zpool_create_015_neg_body()
{
@@ -371,7 +371,7 @@
zpool_create_017_neg_head()
{
atf_set "descr" "'zpool create' should fail with mountpoint exists and not empty."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 2400
}
zpool_create_017_neg_body()
@@ -400,7 +400,7 @@
zpool_create_018_pos_head()
{
atf_set "descr" "zpool create can create pools with specified properties"
atf_set "descr" "'zpool detach <pool> <vdev> ...' against hotspare should do no harm to clone."
- atf_set "require.progs" zfs zpool sum
+ atf_set "require.progs" "ksh93 zfs zpool sum"
atf_set "timeout" 3600
}
hotspare_clone_001_pos_body()
@@ -159,7 +159,7 @@
hotspare_clone_002_pos_head()
{
atf_set "descr" "'zpool detach <pool> <vdev> ...' against basic vdev should do no harm to clone."
- atf_set "require.progs" zfs zpool sum
+ atf_set "require.progs" "ksh93 zfs zpool sum"
atf_set "timeout" 3600
}
hotspare_clone_002_pos_body()
@@ -185,7 +185,7 @@
hotspare_create_001_neg_head()
{
atf_set "descr" "'zpool create [-f]' with hot spares should be failedwith inapplicable scenarios."
- atf_set "require.progs" dumpadm zpool
+ atf_set "require.progs" "ksh93 dumpadm zpool"
atf_set "timeout" 3600
}
hotspare_create_001_neg_body()
@@ -211,7 +211,7 @@
hotspare_detach_001_pos_head()
{
atf_set "descr" "'zpool detach <pool> <vdev> ...' should deactivate the spared-in hot spare device successfully."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_detach_001_pos_body()
@@ -237,7 +237,7 @@
hotspare_detach_002_pos_head()
{
atf_set "descr" "'zpool detach <pool> <vdev> ...' against a functioning device that have spared should take the hot spare permanently swapping in successfully."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_detach_002_pos_body()
@@ -263,7 +263,7 @@
hotspare_detach_003_pos_head()
{
atf_set "descr" "'zpool replace <pool> <vdev> <ndev>' against a functioning device that have spared should complete and the hot spare should return to available."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_detach_003_pos_body()
@@ -289,7 +289,7 @@
hotspare_detach_004_pos_head()
{
atf_set "descr" "'zpool replace <pool> <vdev> <ndev>' against a hot spare device that have been activated should successful while the another dev is a available hot spare."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_detach_004_pos_body()
@@ -315,7 +315,7 @@
hotspare_detach_005_neg_head()
{
atf_set "descr" "'zpool detach <pool> <vdev>' against a hot spare device that NOT activated should fail and issue an error message."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_detach_005_neg_body()
@@ -341,7 +341,7 @@
hotspare_export_001_neg_head()
{
atf_set "descr" "export pool that using shared hotspares will fail"
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_export_001_neg_body()
@@ -367,7 +367,7 @@
hotspare_import_001_pos_head()
{
atf_set "descr" "'zpool export/import <pool>' should runs successfully regardless the hotspare is only in list, activated, or offline."
- atf_set "require.progs" zpool sum
+ atf_set "require.progs" "ksh93 zpool sum"
atf_set "timeout" 3600
}
hotspare_import_001_pos_body()
@@ -393,7 +393,7 @@
hotspare_onoffline_003_neg_head()
{
atf_set "descr" "'zpool offline/online <pool> <vdev>' should fail on inactive spares"
- atf_set "require.progs" zpool zdb
+ atf_set "require.progs" "ksh93 zpool zdb"
atf_set "timeout" 3600
}
hotspare_onoffline_003_neg_body()
@@ -419,7 +419,7 @@
hotspare_onoffline_004_neg_head()
{
atf_set "descr" "'zpool offline/online <pool> <vdev>' against a spared basic vdev during I/O completes."
- atf_set "require.progs" zfs zpool zdb
+ atf_set "require.progs" "ksh93 zfs zpool zdb"
atf_set "timeout" 3600
}
hotspare_onoffline_004_neg_body()
@@ -445,7 +445,7 @@
hotspare_remove_001_pos_head()
{
atf_set "descr" "'zpool remove <pool> <vdev> ...' can remove spare device from the pool."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_remove_001_pos_body()
@@ -471,7 +471,7 @@
hotspare_remove_002_neg_head()
{
atf_set "descr" "'zpool remove <pool> <vdev> ...' should fail with inapplicable scenarios."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_remove_002_neg_body()
@@ -497,7 +497,7 @@
hotspare_remove_003_neg_head()
{
atf_set "descr" "Executing 'zpool remove' with bad options fails"
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_remove_003_neg_body()
@@ -523,7 +523,7 @@
hotspare_remove_004_pos_head()
{
atf_set "descr" "'zpool remove <pool> <vdev> ...' can remove spare device from the pool."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_remove_004_pos_body()
@@ -549,7 +549,7 @@
hotspare_replace_001_neg_head()
{
atf_set "descr" "'zpool replace <pool> <odev> <ndev>' should fail with inapplicable scenarios."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_replace_001_neg_body()
@@ -575,7 +575,7 @@
hotspare_replace_002_neg_head()
{
atf_set "descr" "'zpool replace <pool> <odev> <ndev>' should fail while the hot spares smaller than the basic vdev."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_replace_002_neg_body()
@@ -601,7 +601,7 @@
hotspare_scrub_001_pos_head()
{
atf_set "descr" "'zpool scrub <pool>' should runs successfully regardlessthe hotspare is only in list or activated."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_scrub_001_pos_body()
@@ -627,7 +627,7 @@
hotspare_scrub_002_pos_head()
{
atf_set "descr" "'zpool scrub' scans spare vdevs"
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
}
hotspare_scrub_002_pos_body()
{
@@ -653,7 +653,7 @@
hotspare_shared_001_pos_head()
{
atf_set "descr" "'zpool add <pool> spare <vdev> ...' can add a disk as a shared spare to multiple pools."
- atf_set "require.progs" zpool
+ atf_set "require.progs" "ksh93 zpool"
atf_set "timeout" 3600
}
hotspare_shared_001_pos_body()
@@ -680,7 +680,7 @@
hotspare_snapshot_001_pos_head()
{
atf_set "descr" "'zpool detach <pool> <vdev> ...' against hotspare should do no harm to snapshot."
- atf_set "require.progs" zfs zpool sum
+ atf_set "require.progs" "ksh93 zfs zpool sum"
atf_set "timeout" 3600
}
hotspare_snapshot_001_pos_body()
@@ -706,7 +706,7 @@
hotspare_snapshot_002_pos_head()
{
atf_set "descr" "'zpool detach <pool> <vdev> ...' against basic vdev do no harm to snapshot."