summaryrefslogtreecommitdiff
path: root/tests/misc/stat-fmt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/stat-fmt')
-rwxr-xr-xtests/misc/stat-fmt6
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