diff --git a/tests/lib/libcurses/testframe.txt b/tests/lib/libcurses/testframe.txt index a3afeeadf5f2..d19c01b6397e 100644 --- a/tests/lib/libcurses/testframe.txt +++ b/tests/lib/libcurses/testframe.txt @@ -1,4 +1,4 @@ -$NetBSD: testframe.txt,v 1.7 2021/02/07 20:20:06 rillig Exp $ +$NetBSD: testframe.txt,v 1.8 2021/02/09 20:31:02 rillig Exp $ CURSES TESTFRAME ---------------- @@ -261,8 +261,8 @@ of the operation can either be used as an argument for a call or can be used as an expected result for a call. In addition to all the curses calls being supported by the slave, -there is one more special call called "drain". This call repeatedly -called wgetch(win) until there are no more characters in win. The call +there is one more special call called "DRAIN". This call repeatedly +calls wgetch(win) until there are no more characters in win. The call assumes that the curses input is either in no delay or timed input mode otherwise the test will time out and fail. This call can be used to clear any pending input when testing a timed read, to prevent the diff --git a/tests/lib/libcurses/tests/timeout b/tests/lib/libcurses/tests/timeout index 724228af62fe..29e27f7e85f2 100644 --- a/tests/lib/libcurses/tests/timeout +++ b/tests/lib/libcurses/tests/timeout @@ -10,8 +10,8 @@ input "b" # since delay is in effect and we set timeout the following getch should # return ERR not the character b. call -1 getch -# drain input.... -call OK drain STDSCR +# drain input ... +call OK DRAIN STDSCR call OK timeout -1 call OK keypad STDSCR 1 delay 0 diff --git a/tests/lib/libcurses/tests/wtimeout b/tests/lib/libcurses/tests/wtimeout index 9e45bd4225ce..bbbd390dcd5f 100644 --- a/tests/lib/libcurses/tests/wtimeout +++ b/tests/lib/libcurses/tests/wtimeout @@ -10,8 +10,8 @@ input "b" # since delay is in effect and we set timeout the following getch should # return ERR not the character b. call -1 wgetch $win1 -# drain input.... -call OK drain $win1 +# drain input ... +call OK DRAIN $win1 call OK wtimeout $win1 -1 call OK keypad $win1 1 delay 0