From owner-svn-src-projects@freebsd.org Wed Dec 16 00:23:00 2015 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0993DA49286 for ; Wed, 16 Dec 2015 00:23:00 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0C4E18D8; Wed, 16 Dec 2015 00:22:59 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBG0Mwd5053241; Wed, 16 Dec 2015 00:22:58 GMT (envelope-from asomers@FreeBSD.org) Received: (from asomers@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBG0MwSd053240; Wed, 16 Dec 2015 00:22:58 GMT (envelope-from asomers@FreeBSD.org) Message-Id: <201512160022.tBG0MwSd053240@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: asomers set sender to asomers@FreeBSD.org using -f From: Alan Somers Date: Wed, 16 Dec 2015 00:22:58 +0000 (UTC) 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 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 00:23:00 -0000 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 # 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}) ))