aboutsummaryrefslogtreecommitdiff
path: root/tests/len2elen.sh
diff options
context:
space:
mode:
authora13460542021-08-31 17:01:47 +0000
committerrfjakob2021-09-01 10:22:01 +0200
commitc63f7e9f64ee394b3311edb7f36f56fd786d145a (patch)
tree84dec7ad0b4759532f622174c008e3aa645c5a29 /tests/len2elen.sh
parentc505e73a13d8e2083b53c5c1af1f937b46665abd (diff)
shell scripts: fix shellcheck warnings
Diffstat (limited to 'tests/len2elen.sh')
-rwxr-xr-xtests/len2elen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/len2elen.sh b/tests/len2elen.sh
index 86f2119..3c8cb2a 100755
--- a/tests/len2elen.sh
+++ b/tests/len2elen.sh
@@ -20,10 +20,10 @@ fi
rm -f b/*
while [[ $LEN -le 255 ]]; do
- touch b/$NAME || break
+ touch "b/$NAME" || break
ELEN=$(ls a | wc -L)
- echo $LEN $ELEN
- rm b/$NAME
+ echo "$LEN $ELEN"
+ rm "b/$NAME"
NAME="${NAME}x"
LEN=${#NAME}
done