about summary refs log tree commit diff
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 92b567a59f..11232dfe8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
 
 	* nscd/nscd.c (thread_info_t): Remove typedef.