Date: Tue, 8 Oct 2019 15:33:11 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353309 - head/tests/sys/cddl/zfs/tests/zfsd Message-ID: <201910081533.x98FXBaM072211@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Tue Oct 8 15:33:11 2019 New Revision: 353309 URL: https://svnweb.freebsd.org/changeset/base/353309 Log: zfs: fix the zfsd_autoreplace_003_pos test The test declared that it only needed 5 disks, but actually tried to use 6. Fix it to use just 5, which is all it really needs. MFC after: 2 weeks Sponsored by: Axcient Modified: head/tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_003_pos.ksh Modified: head/tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_003_pos.ksh ============================================================================== --- head/tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_003_pos.ksh Tue Oct 8 15:03:48 2019 (r353308) +++ head/tests/sys/cddl/zfs/tests/zfsd/zfsd_autoreplace_003_pos.ksh Tue Oct 8 15:33:11 2019 (r353309) @@ -78,11 +78,11 @@ function verify_assertion typeset PHYSPATH="some_physical_path" typeset REMOVAL_DISK=$DISK0 typeset REMOVAL_NOP=${DISK0}.nop -typeset NEW_DISK=$DISK4 -typeset NEW_NOP=${DISK4}.nop -typeset SPARE_DISK=${DISK5} -typeset SPARE_NOP=${DISK5}.nop -typeset OTHER_DISKS="${DISK1} ${DISK2} ${DISK3}" +typeset NEW_DISK=$DISK3 +typeset NEW_NOP=${DISK3}.nop +typeset SPARE_DISK=${DISK4} +typeset SPARE_NOP=${DISK4}.nop +typeset OTHER_DISKS="${DISK1} ${DISK2}" typeset OTHER_NOPS=${OTHER_DISKS//~(E)([[:space:]]+|$)/.nop\1} set -A MY_KEYWORDS "mirror" "raidz1" "raidz2" ensure_zfsd_running
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910081533.x98FXBaM072211>