summaryrefslogtreecommitdiffstats
path: root/tests/test.sh
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-08-12 17:28:55 +0200
committerpgen <p.gen.progs@gmail.com>2018-08-14 00:09:09 +0200
commit3b1c68dc1036eba0809b169a5f5571b9703366ba (patch)
tree9a40c1ce635e1dbc33bae528d4c03b4069f7f8f8 /tests/test.sh
parent90aafd4117a1c255c294a99cb706e993acae185e (diff)
Fix timing and typos in tests files
Diffstat (limited to 'tests/test.sh')
-rwxr-xr-xtests/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh
index 5acdd12..e23de92 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -9,7 +9,7 @@ upsearch () {
while [ $n -gt 0 ]; do
test -e "$directory/$1" && echo "$directory" && return
directory="$directory/.."
- ((n--))
+ n = $(expr n - 1)
done
}