xfs/292: fix format of expected message

In mkfs.xfs, it uses left-align and fixed width format when outputting
device name, so variable length of devicename makes different space's
number between "meta-data=devicename" and "isize". But in the expected
output, the space' number between them is fixed. This behavior often
results in the case failure. So fix the format of expected message.

Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Xing Gu
2014-08-13 11:00:38 +10:00
committed by Dave Chinner
parent 73bea923f3
commit 8a19bf2f9d
2 changed files with 15 additions and 4 deletions
+8 -2
View File
@@ -1,5 +1,11 @@
QA output created by 292
mkfs.xfs without geometry
meta-data=FILENAME isize=256 agcount=4, agsize=16777216 blks
ddev=FILENAME
isize=256
agcount=4
agsize=16777216
mkfs.xfs with cmdline geometry
meta-data=FILENAME isize=256 agcount=16, agsize=4194304 blks
ddev=FILENAME
isize=256
agcount=16
agsize=4194304