fix derwin test.
This commit is contained in:
parent
b436459a98
commit
77b858f20e
|
@ -3,4 +3,4 @@
|
|||
000000
|
||||
000000
|
||||
000000
|
||||
000000cup8;11X
|
||||
000000
|
|
@ -1 +1 @@
|
|||
cup4;7X222cup5;7X222cup6;7X222cup8;11X
|
||||
0222cup5;7X222cup6;7X222cup8;6X
|
|
@ -763,7 +763,7 @@ atf_init_test_cases()
|
|||
atf_add_test_case curs_set
|
||||
atf_add_test_case define_key
|
||||
# atf_add_test_case delay_output # not working
|
||||
# atf_add_test_case derwin # not working
|
||||
atf_add_test_case derwin
|
||||
atf_add_test_case doupdate
|
||||
# atf_add_test_case dupwin # not working
|
||||
atf_add_test_case erasechar
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
include start
|
||||
include window_create
|
||||
call OK scrollok $win1 $TRUE
|
||||
call OK wmove $win1 5 0
|
||||
call OK waddstr $win1 "000000"
|
||||
call OK wmove $win1 4 0
|
||||
call OK wscrl $win1 -1
|
||||
call OK wmove $win1 0 0
|
||||
call OK waddstr $win1 "000000"
|
||||
call OK wmove $win1 1 0
|
||||
|
@ -10,18 +15,19 @@ call OK wmove $win1 3 0
|
|||
call OK waddstr $win1 "000000"
|
||||
call OK wmove $win1 4 0
|
||||
call OK waddstr $win1 "000000"
|
||||
call OK wmove $win1 5 0
|
||||
call OK waddstr $win1 "000000"
|
||||
call OK wrefresh $win1
|
||||
compare derwin1.chk
|
||||
call win2 derwin $win1 3 3 1 1
|
||||
check win2 NON_NULL
|
||||
call OK scrollok $win2 $TRUE
|
||||
call OK wmove $win2 2 0
|
||||
call OK waddstr $win2 "222"
|
||||
call OK wmove $win2 1 0
|
||||
call OK wscrl $win2 -1
|
||||
call OK wmove $win2 0 0
|
||||
call OK waddstr $win2 "222"
|
||||
call OK wmove $win2 1 0
|
||||
call OK waddstr $win2 "222"
|
||||
call OK wmove $win2 2 0
|
||||
call OK waddstr $win2 "222"
|
||||
call OK wrefresh $win1
|
||||
compare derwin2.chk
|
||||
|
||||
|
|
Loading…
Reference in New Issue