diff options
Diffstat (limited to 'tests/drv_hangman.c')
-rw-r--r-- | tests/drv_hangman.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c index bfe5eaf6..f80d65d7 100644 --- a/tests/drv_hangman.c +++ b/tests/drv_hangman.c @@ -229,6 +229,9 @@ static void check_error_state(const int gen, for (i = 0; i < 1024; i++) { igt_assert(getline(&line, &line_size, file) > 0); + if (line[0] == ':' || line[0] == '~') + break; + snprintf(expected_line, sizeof(expected_line), "%08x : %08x", 4*i, batch[i]); |