]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use 100MB pool for filetest_001_pos.ksh checksum test
authorTony Hutter <hutter2@llnl.gov>
Mon, 15 Aug 2016 23:34:02 +0000 (19:34 -0400)
committerTony Hutter <hutter2@llnl.gov>
Mon, 3 Oct 2016 21:51:21 +0000 (14:51 -0700)
commit7d75815dc950bdce3fd03cc40a3352d93c270e0f
treee0393eeead86bf4c8f6b085da71c2e48d1b7929b
parent125a406e24fbfaec29557e88746210b9f18f646c
Use 100MB pool for filetest_001_pos.ksh checksum test

As part of its tests, filetest_001_pos.ksh wipes the entire vdev to
create checksum errors.  This patch uses the setup/cleanup scripts from
the scrub_mirror test to create a custom 100MB pool, rather than
using the entire device size that is passed into zfs-tests.sh
(which defaults to 2GB).  This speeds up the buildbot tests, and also
makes it possible for someone to use real disks (say, 1TB) without the
test taking an insanely long amount of time.
tests/zfs-tests/tests/functional/checksum/Makefile.am
tests/zfs-tests/tests/functional/checksum/cleanup.ksh
tests/zfs-tests/tests/functional/checksum/default.cfg [new file with mode: 0644]
tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh
tests/zfs-tests/tests/functional/checksum/setup.ksh