From owner-svn-src-projects@freebsd.org Thu Feb 15 00:11:43 2018 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A22B2F0938C for ; Thu, 15 Feb 2018 00:11:43 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5478F751D1; Thu, 15 Feb 2018 00:11:43 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4F78D170AB; Thu, 15 Feb 2018 00:11:43 +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 w1F0BhcS019470; Thu, 15 Feb 2018 00:11:43 GMT (envelope-from asomers@FreeBSD.org) Received: (from asomers@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1F0BhRu019469; Thu, 15 Feb 2018 00:11:43 GMT (envelope-from asomers@FreeBSD.org) Message-Id: <201802150011.w1F0BhRu019469@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: asomers set sender to asomers@FreeBSD.org using -f From: Alan Somers Date: Thu, 15 Feb 2018 00:11:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r329288 - projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test X-SVN-Group: projects X-SVN-Commit-Author: asomers X-SVN-Commit-Paths: projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test X-SVN-Commit-Revision: 329288 X-SVN-Commit-Repository: base 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.25 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: Thu, 15 Feb 2018 00:11:43 -0000 Author: asomers Date: Thu Feb 15 00:11:42 2018 New Revision: 329288 URL: https://svnweb.freebsd.org/changeset/base/329288 Log: Fix utils_test_007_pos The test fails due to an fstyp(8) usage difference between Illumos and FreeBSD. Fix the usage. PR: 200823 Sponsored by: Spectra Logic Corp Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test/utils_test_007_pos.ksh Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test/utils_test_007_pos.ksh ============================================================================== --- projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test/utils_test_007_pos.ksh Thu Feb 15 00:09:34 2018 (r329287) +++ projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test/utils_test_007_pos.ksh Thu Feb 15 00:11:42 2018 (r329288) @@ -74,8 +74,8 @@ populate_dir $TESTDIR/$TESTFILE $NUM_FILES $WRITE_COUN log_must $ZFS unmount $TESTDIR -log_must $FSTYP $DISK -detected_filesystem=$( $FSTYP $DISK ) +log_must $FSTYP -u $DISK +detected_filesystem=$( $FSTYP -u $DISK ) if [ "$detected_filesystem" != "zfs" ]; then log_fail "fstyp(8) detected $detected_filesystem instead of zfs" fi