Date: Wed, 16 Dec 2015 00:22:58 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r292306 - projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create Message-ID: <201512160022.tBG0MwSd053240@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Wed Dec 16 00:22:58 2015 New Revision: 292306 URL: https://svnweb.freebsd.org/changeset/base/292306 Log: tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh Remove unnecessary 'zfs list' invocation. Pool destroys aren't asynchronous, so the comment was wrong. Submitted by: Will Sponsored by: Spectra Logic Corp Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh Wed Dec 16 00:22:14 2015 (r292305) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_create/zpool_create_004_pos.ksh Wed Dec 16 00:22:58 2015 (r292306) @@ -105,8 +105,6 @@ function setup_vdevs #<disk> destroy_pool $VDEVS_POOL # Creating VDEVS_POOL corrupted the gpart label. We must erase the disk # before we can partition it again. - # Calling "zfs list" will wait for the asynchronous pool destroy to complete - $ZFS list > /dev/null 2>&1 cleanup_devices $disk (( largest_num = fs_size / (1024 * 1024 * ${POOL_MINSIZE}) ))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512160022.tBG0MwSd053240>