svn commit: r338186 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Wed Aug 22 09:27:41 UTC 2018
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
More information about the svn-src-user
mailing list