mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Dave Chinner
parent
0e2a022a67
commit
d48469086a
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user