Date: Thu, 8 Feb 2018 21:38:57 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r329041 - projects/zfsd/head/tests/sys/cddl/zfs/tests/hotspare Message-ID: <201802082138.w18LcvNu073821@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802082138.w18LcvNu073821>