Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libcurses Update the ins_(n)wstr test family to sp...



details:   https://anonhg.NetBSD.org/src/rev/7fced8dee1fb
branches:  trunk
changeset: 1026258:7fced8dee1fb
user:      blymn <blymn%NetBSD.org@localhost>
date:      Mon Nov 15 06:31:21 2021 +0000

description:
Update the ins_(n)wstr test family to split out the check files
for each call separately and update check files to reflect changed
behaviour due to a fix to related calls.

diffstat:

 tests/lib/libcurses/check_files/Makefile          |  8 +++++++-
 tests/lib/libcurses/check_files/ins_nwstr1.chk    |  2 +-
 tests/lib/libcurses/check_files/mvwins_nwstr1.chk |  1 +
 tests/lib/libcurses/check_files/mvwins_nwstr2.chk |  2 ++
 tests/lib/libcurses/check_files/mvwins_wstr1.chk  |  1 +
 tests/lib/libcurses/check_files/mvwins_wstr2.chk  |  2 ++
 tests/lib/libcurses/check_files/wins_nwstr1.chk   |  1 +
 tests/lib/libcurses/check_files/wins_nwstr2.chk   |  2 ++
 tests/lib/libcurses/tests/mvwins_nwstr            |  4 ++--
 tests/lib/libcurses/tests/mvwins_wstr             |  4 ++--
 tests/lib/libcurses/tests/wins_nwstr              |  4 ++--
 11 files changed, 23 insertions(+), 8 deletions(-)

diffs (133 lines):

diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/Makefile
--- a/tests/lib/libcurses/check_files/Makefile  Mon Nov 15 06:27:06 2021 +0000
+++ b/tests/lib/libcurses/check_files/Makefile  Mon Nov 15 06:31:21 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/06/06 04:57:58 blymn Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/15 06:31:21 blymn Exp $
 
 NOMAN=         # defined
 
@@ -188,7 +188,11 @@
 FILES+=                mvwaddwstr3.chk
 FILES+=                mvwchgat1.chk
 FILES+=                mvwchgat2.chk
+FILES+=                mvwins_nwstr1.chk
+FILES+=                mvwins_nwstr2.chk
 FILES+=                mvwins_wch.chk
+FILES+=                mvwins_wstr1.chk
+FILES+=                mvwins_wstr2.chk
 FILES+=                notimeout.chk
 FILES+=                overlay1.chk
 FILES+=                overlay2.chk
@@ -256,6 +260,8 @@
 FILES+=                wins_wch1.chk
 FILES+=                wins_wch2.chk
 FILES+=                wins_wch3.chk
+FILES+=                wins_nwstr1.chk
+FILES+=                wins_nwstr2.chk
 FILES+=                wins_wstr1.chk
 FILES+=                wins_wstr2.chk
 FILES+=                winsch1.chk
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/ins_nwstr1.chk
--- a/tests/lib/libcurses/check_files/ins_nwstr1.chk    Mon Nov 15 06:27:06 2021 +0000
+++ b/tests/lib/libcurses/check_files/ins_nwstr1.chk    Mon Nov 15 06:31:21 2021 +0000
@@ -1,1 +1,1 @@
-cup5;5XAAA㐁
    
\ No newline at end of file
+cup5;5XAAA
    
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/mvwins_nwstr1.chk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libcurses/check_files/mvwins_nwstr1.chk Mon Nov 15 06:31:21 2021 +0000
@@ -0,0 +1,1 @@
+cup5;7XA㐁cup5;7X
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/mvwins_nwstr2.chk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libcurses/check_files/mvwins_nwstr2.chk Mon Nov 15 06:31:21 2021 +0000
@@ -0,0 +1,2 @@
+cup7;10XBB
+      AA elcup7;7X
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/mvwins_wstr1.chk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libcurses/check_files/mvwins_wstr1.chk  Mon Nov 15 06:31:21 2021 +0000
@@ -0,0 +1,1 @@
+cup5;7XA㐁Acup5;7X
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/mvwins_wstr2.chk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libcurses/check_files/mvwins_wstr2.chk  Mon Nov 15 06:31:21 2021 +0000
@@ -0,0 +1,2 @@
+cup7;10XBB
+      AA elcup7;7X
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/wins_nwstr1.chk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libcurses/check_files/wins_nwstr1.chk   Mon Nov 15 06:31:21 2021 +0000
@@ -0,0 +1,1 @@
+cup5;7XA㐁cup5;7X
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/check_files/wins_nwstr2.chk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libcurses/check_files/wins_nwstr2.chk   Mon Nov 15 06:31:21 2021 +0000
@@ -0,0 +1,2 @@
+cup7;10XBB
+      AA elcup7;7X
\ No newline at end of file
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/tests/mvwins_nwstr
--- a/tests/lib/libcurses/tests/mvwins_nwstr    Mon Nov 15 06:27:06 2021 +0000
+++ b/tests/lib/libcurses/tests/mvwins_nwstr    Mon Nov 15 06:31:21 2021 +0000
@@ -3,7 +3,7 @@
 call OK mvwins_nwstr $win1 2 1 $WSTR 3
 call OK wrefresh $win1
 call2 2 1 getyx $win1
-compare wins_wstr1.chk
+compare mvwins_nwstr1.chk
 
 call OK mvwaddstr $win1 4 4 "BB"
 call OK wrefresh $win1
@@ -13,4 +13,4 @@
 call OK mvwins_nwstr $win1 4 1 $NSTR -1
 call OK wrefresh $win1
 call2 4 1 getyx $win1
-compare wins_wstr2.chk
+compare mvwins_nwstr2.chk
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/tests/mvwins_wstr
--- a/tests/lib/libcurses/tests/mvwins_wstr     Mon Nov 15 06:27:06 2021 +0000
+++ b/tests/lib/libcurses/tests/mvwins_wstr     Mon Nov 15 06:31:21 2021 +0000
@@ -3,7 +3,7 @@
 call OK mvwins_wstr $win1 2 1 $WSTR
 call OK wrefresh $win1
 call2 2 1 getyx $win1
-compare wins_wstr1.chk
+compare mvwins_wstr1.chk
 
 call OK mvwaddstr $win1 4 4 "BB"
 call OK wrefresh $win1
@@ -13,4 +13,4 @@
 call OK mvwins_wstr $win1 4 1 $NSTR
 call OK wrefresh $win1
 call2 4 1 getyx $win1
-compare wins_wstr2.chk
+compare mvwins_wstr2.chk
diff -r 9a9f02f81994 -r 7fced8dee1fb tests/lib/libcurses/tests/wins_nwstr
--- a/tests/lib/libcurses/tests/wins_nwstr      Mon Nov 15 06:27:06 2021 +0000
+++ b/tests/lib/libcurses/tests/wins_nwstr      Mon Nov 15 06:31:21 2021 +0000
@@ -4,7 +4,7 @@
 call OK wins_nwstr $win1 $WSTR 3
 call OK wrefresh $win1
 call2 2 1 getyx $win1
-compare wins_wstr1.chk
+compare wins_nwstr1.chk
 
 call OK mvwaddstr $win1 4 4 "BB"
 call OK wrefresh $win1
@@ -15,4 +15,4 @@
 call OK wins_nwstr $win1 $NSTR -1
 call OK wrefresh $win1
 call2 4 1 getyx $win1
-compare wins_wstr2.chk
+compare wins_nwstr2.chk


Home | Main Index | Thread Index | Old Index