summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-12-15 11:30:08 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-12-15 11:30:08 -0500
commit9dff2ecab4059123f9d092e366a109805190d07b (patch)
tree993ffd95c07f0e55b20281a3d42b5d6ef234278a
parent2c473cee309330015680560b667cf89e01dfa276 (diff)
downloadmongo-9dff2ecab4059123f9d092e366a109805190d07b.tar.gz
Clean up run reporting.
-rw-r--r--test/format/recover.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/format/recover.sh b/test/format/recover.sh
index 2a2ab1b2e9e..fb26d52c928 100644
--- a/test/format/recover.sh
+++ b/test/format/recover.sh
@@ -12,10 +12,14 @@ config=
count=0
while true; do
count=`expr $count + 1`
- if test $runs -ne 0 -a $count -gt $runs; then
- exit 0
+ if test $runs -eq 0; then
+ echo "recovery test: $count"
+ else
+ if test $count -gt $runs; then
+ exit 0
+ fi
+ echo "recovery test: $count of $runs"
fi
- echo "recovery test: $count of $runs"
./t $config -q abort=1 timer=$timer