diff options
Diffstat (limited to 'tests/du/2g')
-rwxr-xr-x | tests/du/2g | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/du/2g b/tests/du/2g index a901ddbe9..96cf62d7c 100755 --- a/tests/du/2g +++ b/tests/du/2g @@ -30,7 +30,7 @@ very_expensive_ # This technique relies on the fact that the 'Available' kilobyte # count is the number just before the one with a trailing '%'. -free_kb=`df -kP .|tail -1|sed 's/ [0-9][0-9]*%.*//;s/ *$//;s/.* //'` +free_kb=$(df -kP .|tail -1|sed 's/ [0-9][0-9]*%.*//;s/ *$//;s/.* //') case "$free_kb" in [0-9]*) ;; *) skip_ "invalid size from df: $free_kb";; @@ -47,7 +47,7 @@ test $min_kb -lt $free_kb || big=big rm -f $big test -t 1 || printf 'creating a 2GB file...\n' -for i in `seq 100`; do +for i in $(seq 100); do # Note: 2147483648 == 2^31. Print floor(2^31/100) per iteration. printf %21474836s x >> $big || fail=1 # On the final iteration, append the remaining 48 bytes. |