aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/rename2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/rename2.sh')
-rwxr-xr-xtools/test/stress2/misc/rename2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/stress2/misc/rename2.sh b/tools/test/stress2/misc/rename2.sh
index 2c9781602d2c..085a424a98f2 100755
--- a/tools/test/stress2/misc/rename2.sh
+++ b/tools/test/stress2/misc/rename2.sh
@@ -40,7 +40,7 @@ cd $here
rm -rf /tmp/rename.dir.*
start=`date +%s`
-while [ $((`date +%s` - start -lt 300 ]; do
+while [ $((`date +%s` - start)) -lt 300 ]; do
for j in `jot 10`; do
/tmp/rename2 &
done