svn commit: r292365 - projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy
Alan Somers
asomers at FreeBSD.org
Wed Dec 16 20:52:01 UTC 2015
Author: asomers
Date: Wed Dec 16 20:52:00 2015
New Revision: 292365
URL: https://svnweb.freebsd.org/changeset/base/292365
Log:
redundancy tests shouldn't expect a specific number of errors
tests/sys/cddl/zfs/tests/redundancy/redundancy.kshlib
damage_devs: Accept >= 1 checksum errors in any case. In the case
of raidz, the original device may not be attributed the checksum
error.
Submitted by: Will
Sponsored by: Spectra Logic Corp
Modified:
projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/redundancy.kshlib
Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/redundancy.kshlib
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/redundancy.kshlib Wed Dec 16 20:49:25 2015 (r292364)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/redundancy/redundancy.kshlib Wed Dec 16 20:52:00 2015 (r292365)
@@ -218,9 +218,7 @@ function damage_devs
sync_pool $pool
wait_for 20 1 is_pool_scrubbed $pool
- cnt_arg=$cnt
- [ "$label" = "keep_label" ] && cnt_arg=""
- log_must pool_has_errors $pool $cnt_arg
+ log_must pool_has_errors $pool
else
# The pool can be syncing, thus fixing its labels. So we
# have to keep trying until all the devices go offline.
More information about the svn-src-projects
mailing list