Module Name: src
Committed By: rillig
Date: Sat Feb 13 08:37:21 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: mvwin
Log Message:
tests/libcurses: "fix" test mvwin
The test mvwin previously expected an endless stream of bytes, by
comparing the actual output with /dev/zero. This didn't make sense as
the curses output does not contain '\0' in any of the test cases.
Compare with /dev/null instead. This is as wrong as before, but the
curses test framework currently ignores this situation, as for many
other test cases. See the numerous "Excess" messages in atf-run.log.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/tests/mvwin
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libcurses/tests/mvwin
diff -u src/tests/lib/libcurses/tests/mvwin:1.1 src/tests/lib/libcurses/tests/mvwin:1.2
--- src/tests/lib/libcurses/tests/mvwin:1.1 Sun Apr 10 09:55:10 2011
+++ src/tests/lib/libcurses/tests/mvwin Sat Feb 13 08:37:21 2021
@@ -2,11 +2,11 @@ include window
call OK wmove $win1 1 1
call OK wprintw $win1 "%s" "xxxx"
call OK wrefresh $win1
-compare /dev/zero
+compare /dev/null
call OK refresh
-compare /dev/zero
+compare /dev/null
call OK mvwin $win1 4 7
call OK wrefresh $win1
-compare /dev/zero
+compare /dev/null
call OK refresh
-compare /dev/zero
+compare /dev/null