test-skeleton.c: Use stdout for error messages
authorWill Newton <will.newton@linaro.org>
Fri, 11 Apr 2014 14:21:23 +0000 (15:21 +0100)
committerWill Newton <will.newton@linaro.org>
Mon, 23 Jun 2014 10:21:31 +0000 (11:21 +0100)
commitc5c13355132e73578bbc0c612ddff964e6199747
tree85471af568c8a0fb0ea78594c08c59d7439e4782
parentbd3675f9a3e91edf997c0515f0f1fce1669f038c
test-skeleton.c: Use stdout for error messages

At the moment the test skeleton uses a mixture of stdout and
stderr for error message output. Using stdout for all test output
keeps all output correctly ordered and properly redirected to the
output file. The suggestion to use stdout is also made on the wiki:

https://sourceware.org/glibc/wiki/Testing/Testsuite#Writing_a_test_case

ChangeLog:

2014-06-23  Will Newton  <will.newton@linaro.org>

* test-skeleton.c (signal_handler): Use printf and %m
rather than perror.  Use printf rather than fprintf to
stderr.  Use puts rather than fputs to stderr.
(main): Likewise.
ChangeLog
test-skeleton.c