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 check files to account for fi...



details:   https://anonhg.NetBSD.org/src/rev/e985276dd033
branches:  trunk
changeset: 379854:e985276dd033
user:      blymn <blymn%NetBSD.org@localhost>
date:      Tue Jun 22 07:49:58 2021 +0000

description:
Update the check files to account for fixes to addstr.c

diffstat:

 tests/lib/libcurses/check_files/addstr2.chk  |  2 +-
 tests/lib/libcurses/check_files/addstr3.chk  |  6 ++++--
 tests/lib/libcurses/check_files/copywin6.chk |  2 +-
 tests/lib/libcurses/check_files/copywin7.chk |  2 +-
 tests/lib/libcurses/check_files/dupwin1.chk  |  2 +-
 tests/lib/libcurses/check_files/dupwin2.chk  |  2 +-
 tests/lib/libcurses/tests/addstr             |  6 +++---
 7 files changed, 12 insertions(+), 10 deletions(-)

diffs (83 lines):

diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/check_files/addstr2.chk
--- a/tests/lib/libcurses/check_files/addstr2.chk       Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/check_files/addstr2.chk       Tue Jun 22 07:49:58 2021 +0000
@@ -1,1 +1,1 @@
-cup24;1X0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456clearcup24;76Xa   
\ No newline at end of file
+cup24;1X0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456cup24;1Xclearcup24;76Xa   rmamhsmamcup24;1X
\ No newline at end of file
diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/check_files/addstr3.chk
--- a/tests/lib/libcurses/check_files/addstr3.chk       Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/check_files/addstr3.chk       Tue Jun 22 07:49:58 2021 +0000
@@ -1,2 +1,4 @@
-cup22;76Xa   0cup23;1X123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*(cup24;1X)cup24;76Xel
)clearcup23;76Xa
-hello
\ No newline at end of file
+csr2;24Xhomehome
+rin1Xcsr1;24Xhomehomecup24;1Xhome
+()cup23;1X0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*cup2;3Xclear
+hellocup23;76Xacup2;6X
\ No newline at end of file
diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/check_files/copywin6.chk
--- a/tests/lib/libcurses/check_files/copywin6.chk      Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/check_files/copywin6.chk      Tue Jun 22 07:49:58 2021 +0000
@@ -1,4 +1,4 @@
 cup3;6Xstingt
      ingtes
      gtesti
-     estingcup8;6X
\ No newline at end of file
+     estingcup4;6X
\ No newline at end of file
diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/check_files/copywin7.chk
--- a/tests/lib/libcurses/check_files/copywin7.chk      Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/check_files/copywin7.chk      Tue Jun 22 07:49:58 2021 +0000
@@ -1,4 +1,4 @@
-el
+el
      el
      el
      elcup11;15Xelcup12;15Xelcup13;15Xelcup14;15Xelcup15;15Xelcup17;15Xel
\ No newline at end of file
diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/check_files/dupwin1.chk
--- a/tests/lib/libcurses/check_files/dupwin1.chk       Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/check_files/dupwin1.chk       Tue Jun 22 07:49:58 2021 +0000
@@ -3,4 +3,4 @@ 111111
      333333
      444444
      555555
-     666666
     cup9;13X111111cup10;13X222222cup11;13X333333cup12;13X444444cup13;13X555555cup14;13X666666cup14;13X
\ No newline at end of file
+     666666
     cup9;13X111111cup10;13X222222cup11;13X333333cup12;13X444444cup13;13X555555cup14;13X666666
     
\ No newline at end of file
diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/check_files/dupwin2.chk
--- a/tests/lib/libcurses/check_files/dupwin2.chk       Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/check_files/dupwin2.chk       Tue Jun 22 07:49:58 2021 +0000
@@ -1,1 +1,1 @@
-cup8;6Xcup9;13Xaaaaaacup10;13Xbbbbbbcup11;13Xcccccccup12;13Xddddddcup13;13Xeeeeeecup14;13Xffffffcup14;13X
\ No newline at end of file
+cup9;13Xaaaaaacup10;13Xbbbbbbcup11;13Xcccccccup12;13Xddddddcup13;13Xeeeeeecup14;13Xffffffcup14;13X
\ No newline at end of file
diff -r a6af1176b4d9 -r e985276dd033 tests/lib/libcurses/tests/addstr
--- a/tests/lib/libcurses/tests/addstr  Tue Jun 22 07:49:09 2021 +0000
+++ b/tests/lib/libcurses/tests/addstr  Tue Jun 22 07:49:58 2021 +0000
@@ -9,12 +9,12 @@ compare addstr.chk
 # Checks for PR#56224
 #
 call OK move 23 0
-# the addstr should be truncated since no scrolling
-call OK addstr "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456789"
+# the addstr should be truncated since no scrolling and will return ERR
+call ERR addstr "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456789"
 call OK refresh
 call OK clear
 call OK move 23 75
-call OK addstr "a\thello"
+call ERR addstr "a\thello"
 call OK refresh
 compare addstr2.chk
 call OK scrollok STDSCR $TRUE



Home | Main Index | Thread Index | Old Index