Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 00:11:43 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r329288 - projects/zfsd/head/tests/sys/cddl/zfs/tests/utils_test
Message-ID:  <201802150011.w1F0BhRu019469@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802150011.w1F0BhRu019469>