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/d7b0756d0868
branches:  trunk
changeset: 379540:d7b0756d0868
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 c84ef6c2fad3 -r d7b0756d0868 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