Enji Cooper 57718be8fa Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks
Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division
2014-10-02 23:26:49 +00:00

22 lines
385 B
Plaintext

#
# Validate the timeout works.
#
include start
delay 2000
input "a"
call 97 getch
call OK timeout 100
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
call OK timeout -1
call OK keypad STDSCR 1
delay 0
input "\eOA"
call $KEY_UP getch
call OK refresh
compare timeout.chk