The "((expr))" construct is not implemented by e.g. dash, so this commit
replaces the construct with a more portable one.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
then
printf " %2d) %-60s [ok]\n" $test_count "$desc"
else
then
printf " %2d) %-60s [ok]\n" $test_count "$desc"
else
+ test_failed=$(expr $test_failed + 1)
printf " %2d) %-60s [failed]\n" $test_count "$desc"
fi
}
printf " %2d) %-60s [failed]\n" $test_count "$desc"
fi
}