diff options
Diffstat (limited to 'tests/misc/stat-fmt')
-rwxr-xr-x | tests/misc/stat-fmt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/stat-fmt b/tests/misc/stat-fmt index af428151f..8952a7abb 100755 --- a/tests/misc/stat-fmt +++ b/tests/misc/stat-fmt @@ -21,9 +21,9 @@ print_ver_ stat -for i in `seq 50`; do - fmt=`printf "%${i}s" %` - out=`stat --form="$fmt" .` +for i in $(seq 50); do + fmt=$(printf "%${i}s" %) + out=$(stat --form="$fmt" .) test "$out" = "$fmt" || fail=1 done |