about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-04-11 15:21:23 +0100
committerWill Newton <will.newton@linaro.org>2014-06-23 11:21:31 +0100
commitc5c13355132e73578bbc0c612ddff964e6199747 (patch)
tree85471af568c8a0fb0ea78594c08c59d7439e4782 /nss
parentbd3675f9a3e91edf997c0515f0f1fce1669f038c (diff)
downloadglibc-c5c13355132e73578bbc0c612ddff964e6199747.tar.gz
glibc-c5c13355132e73578bbc0c612ddff964e6199747.tar.xz
glibc-c5c13355132e73578bbc0c612ddff964e6199747.zip
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.
Diffstat (limited to 'nss')
0 files changed, 0 insertions, 0 deletions