diff options
-rw-r--r-- | src/cli-debug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cli-debug.c b/src/cli-debug.c index b188201ece..5c81a938e2 100644 --- a/src/cli-debug.c +++ b/src/cli-debug.c @@ -293,7 +293,10 @@ int main(int argc, char **argv) else if (ret == TEST_UNSURE) printf(" %s\n", tls_tests[i].unsure_str); else if (ret == TEST_IGNORE) { - i++; + if (tls_tests[i+1].test_name) + i++; + else + break; } } while (ret == TEST_IGNORE |