summaryrefslogtreecommitdiff
path: root/tests/core/test_02.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/test_02.c')
-rw-r--r--tests/core/test_02.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/core/test_02.c b/tests/core/test_02.c
index 7402f04f4b80..4ea8c459047c 100644
--- a/tests/core/test_02.c
+++ b/tests/core/test_02.c
@@ -21,6 +21,8 @@
int
main (int argc, char **argv)
{
+ xo_set_program("test_02");
+
argc = xo_parse_args(argc, argv);
if (argc < 0)
return 1;
@@ -144,6 +146,10 @@ main (int argc, char **argv)
"ten yard penalty", "first down");
xo_error("Shut 'er down, Clancey! She's a-pumpin' mud! <>!,\"!<>\n");
+ xo_error("err message (%d)", 1);
+ xo_error("err message (%d)\n", 2);
+ xo_errorn("err message (%d)", 1);
+ xo_errorn("err message (%d)\n", 2);
xo_close_container("data");