Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/tests Decouple the clear test from the a...



details:   https://anonhg.NetBSD.org/src/rev/1c320069d8fa
branches:  trunk
changeset: 983765:1c320069d8fa
user:      blymn <blymn%NetBSD.org@localhost>
date:      Sat Jun 05 06:13:36 2021 +0000

description:
Decouple the clear test from the addstr test, they should not be linked
together because they are not really related.

diffstat:

 tests/lib/libcurses/tests/clear |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r eea3e8ac9078 -r 1c320069d8fa tests/lib/libcurses/tests/clear
--- a/tests/lib/libcurses/tests/clear   Sat Jun 05 06:11:09 2021 +0000
+++ b/tests/lib/libcurses/tests/clear   Sat Jun 05 06:13:36 2021 +0000
@@ -1,4 +1,10 @@
-include addstr
+include start
+call OK addstr "abcde\n"
+call OK addstr "\n"
+call OK addstr "\t8\n"
+call OK addstr "0123456\t8\n"
+call OK refresh
+compare clear0.chk
 call OK clear
 call OK refresh
 compare clear1.chk



Home | Main Index | Thread Index | Old Index