awk invocation cleanup for busybox support.

These changes make it possible to run more of the tests on busybox.

Signed-off-by: Ari Sundholm <ari@tuxera.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Ari Sundholm
2015-08-04 14:10:48 +10:00
committed by Dave Chinner
parent 0e2a022a67
commit d48469086a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ _file_create()
cd $SCRATCH_MNT/origin
_disksize=`$DF_PROG --block-size=1 $SCRATCH_DEV | tail -1 | awk '{ print $5 }'`
_disksize=`$DF_PROG -B 1 $SCRATCH_DEV | tail -1 | $AWK_PROG '{ print $5 }'`
_disksize=$(($_disksize / 3))
_num=$(($_disksize / $count / $threads / 4096))
_count=$count