commit | f2ceb5e1f9476dcba6cbcf24bdae7984b3c1052c | [log] [tgz] |
---|---|---|
author | Boris Egorov <egorov@linux.com> | Tue Feb 17 23:43:58 2015 +0600 |
committer | Clark Williams <williams@redhat.com> | Tue Feb 17 12:56:18 2015 -0600 |
tree | 0d5c6ff0302c03505b3d397f6fb29aaca46f0052 | |
parent | 48d20ffd06cc0bbc78ce7a39b4725efb6de6cb58 [diff] |
rt-migrate-test: exit early if nr_runs is non-positive Program will crash if nr_runs is 0 due to dividing by it in print_results(). Let's exit early instead. Fixes: http://bugs.debian.org/716237 Signed-off-by: Boris Egorov <egorov@linux.com> Signed-off-by: Clark Williams <williams@redhat.com>