generic: use correct size value in generic/273
authorBrian Foster <bfoster@redhat.com>
Mon, 2 Dec 2013 23:29:32 +0000 (10:29 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 2 Dec 2013 23:29:32 +0000 (10:29 +1100)
commit0746f7b47ffc1ac755b29f2001ce083ea5626adc
tree14e17537593f1516928a2498dddd7c65aa7acac0
parented14876c039a04c23cc70ffa57e45c3e0ec5f608
generic: use correct size value in generic/273

generic/273 factors the "space available" output from df into the
calculation for the size of the origin data set. Recent commit

  bfdd1e72b358 xfstests: added -P option to $DF_PROG

... converted the use of 'df' to $DF_PROG. This implicitly adds the
-T parameter to add the fs type column, shifts the available space
column over by one and unintentionally causes 273 to look at "used
space" and create too small of a data set for a useful test.
Realign to the available space value.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/273