svn commit: r329041 - projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare
Alan Somers
asomers at FreeBSD.org
Thu Feb 8 21:38:57 UTC 2018
Author: asomers
Date: Thu Feb 8 21:38:57 2018
New Revision: 329041
URL: https://svnweb.freebsd.org/changeset/base/329041
Log:
Fix hotspare_add_003_neg when no disks are present
Remove a superfluous is_disks_physical check
Sponsored by: Spectra Logic Corp
Modified:
projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_add_003_neg.ksh
Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_add_003_neg.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_add_003_neg.ksh Thu Feb 8 21:35:41 2018 (r329040)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare/hotspare_add_003_neg.ksh Thu Feb 8 21:38:57 2018 (r329041)
@@ -83,10 +83,6 @@ function cleanup
partition_cleanup
}
-if ! $(is_physical_device $DISKS) ; then
- log_unsupported "This directory cannot be run on raw files."
-fi
-
log_assert "'zpool add [-f]' with hot spares should fail with inapplicable scenarios."
log_onexit cleanup
More information about the svn-src-projects
mailing list