+2007-10-25 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-term-ostream-xterm: Redirect stderr into a pipe.
+
2007-10-21 Bruno Haible <bruno@clisp.org>
* tests/test-term-ostream-xterm-solaris10.out: New file.
* tests/test-term-ostream-xterm-irix65.out: New file.
* tests/test-term-ostream-xterm-mingw.out: New file.
* tests/test-term-ostream-xterm: Use them as possible test results.
+ * modules/term-ostream-tests (Files): Add the new files.
* Makefile.am (EXTRA_DIST): Add the new files.
2007-10-17 Bruno Haible <bruno@clisp.org>
trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles out"
-TERM=xterm ./test-term-ostream > out
+# The redirection of stderr into a pipe avoids the output of padding bytes
+# (unnecessary NUL bytes after escape sequences) on some systems.
+(TERM=xterm ./test-term-ostream > out) 2>&1 | cat 1>&2
# There are several variants of the "xterm" terminal description floating
# around, each with a different sgr0 escape sequence. Use "infocmp -l -1 xterm"