Skip to content
Snippets Groups Projects
Commit 7729fe20 authored by Kamil Dudka's avatar Kamil Dudka
Browse files

test-common.sh: make createlogs() work with numlogs=0

parent 68fee20e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -89,14 +89,10 @@ createlogs() {
 
rm -f ${base}*
 
num=0
while [ $num != $numlogs ]; do
if [ $num = 0 ]; then
createlog 0 $base
else
createlog $num ${base}.$num $cls_compressed
fi
createlog 0 $base
num=1
while [ $num -le $numlogs ]; do
createlog $num ${base}.$num $cls_compressed
num=`expr $num + 1`
done
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment