* grub-core/tests/setjmp_test.c: Reset counter to 0 before starting.

This commit is contained in:
Vladimir Serbinenko 2013-11-12 15:58:50 +01:00
parent 3bbeade41d
commit 7d06b24eac
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-11-12 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/tests/setjmp_test.c: Reset counter to 0 before starting.
2013-11-12 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/proc.c: Allow \0 in proc files.

View file

@ -51,6 +51,7 @@ setjmp_test (void)
int val;
expected = 0;
ctr = 0;
val = grub_setjmp (jmp_point);
grub_test_assert (val == expected, "setjmp returned %d instead of %d",