The old code gives arguments to a printf function which can't work
authorPeter Jones <pjones@redhat.com>
Sun, 27 May 2012 12:26:18 +0000 (14:26 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 27 May 2012 12:26:18 +0000 (14:26 +0200)
commit2787ae53d64ec89af548caf7a322275dd494d0e0
treede528e1173d7b8c2f5cd411ee21966d5af807fe0
parent526ef13d34453cad7f92009cc12d8429bbcafab0
The old code gives arguments to a printf function which can't work
correctly, and the compiler complains.

* grub-core/tests/example_functional_test.c (example_test): Add
missing text.
* grub-core/tests/lib/test.c (add_failure): Rewrite.
* include/grub/test.h (grub_test_assert_helper): New declaration.
(grub_test_assert): Use grub_test_assert_helper.
ChangeLog
grub-core/tests/example_functional_test.c
grub-core/tests/lib/test.c
include/grub/test.h