Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2018 09:27:40 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r338186 - user/pho/stress2/misc
Message-ID:  <201808220927.w7M9RepP048169@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Wed Aug 22 09:27:40 2018
New Revision: 338186
URL: https://svnweb.freebsd.org/changeset/base/338186

Log:
  Update the test to work with the new "block" output format of fsdb(8).
  
  Sponsored by:	Dell EMC Isilon

Modified:
  user/pho/stress2/misc/truncate6.sh

Modified: user/pho/stress2/misc/truncate6.sh
==============================================================================
--- user/pho/stress2/misc/truncate6.sh	Wed Aug 22 08:31:35 2018	(r338185)
+++ user/pho/stress2/misc/truncate6.sh	Wed Aug 22 09:27:40 2018	(r338186)
@@ -75,9 +75,10 @@ QUOTE
 )
 full=`echo "$full" | sed '/Last Mounted/,+6d'`
 r=`echo "$full" | tail -1`
-if [ "$r" != "0, 0, 0, 4704" ]; then
+expect="	lbn 3 blkno 4704"
+if [ "$r" != "$expect" ]; then
 	e=1
-	echo "FAIL Expected \"0, 0, 0, 4704\", got \"$r\"."
+	echo "FAIL Expected \"$expect\", got \"$r\"."
 	echo "$full"
 else
 	e=0



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