mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
tests/pty.sh: avoid typeahead: add 10ms delay (re: 5c389035
)
We can't actually check for the typeahead effects as they are timing-dependent and do not work on the slower GitHub runners.
This commit is contained in:
parent
d790731a80
commit
5529d13d28
1 changed files with 2 additions and 2 deletions
|
@ -606,9 +606,9 @@ EOF
|
|||
tst $LINENO <<"!"
|
||||
L test -t 1 inside command substitution
|
||||
p :test-1:
|
||||
d 10
|
||||
w . ./test_t.sh
|
||||
r ^:test-1: \. \./test_t\.sh\r\n$
|
||||
r ^\. \./test_t\.sh\r\n$
|
||||
r ^OK0\r\n$
|
||||
r ^OK1\r\n$
|
||||
r ^OK2\r\n$
|
||||
|
@ -629,9 +629,9 @@ L race condition while launching external commands
|
|||
# See discussion at: https://github.com/ksh93/ksh/issues/79
|
||||
|
||||
p :test-1:
|
||||
d 10
|
||||
w printf '%s\\n' 1 2 3 4 5 | while read; do ls /dev/null; done
|
||||
r ^:test-1: printf '%s\\n' 1 2 3 4 5 | while read; do ls /dev/null; done\r\n$
|
||||
r ^printf '%s\\n' 1 2 3 4 5 | while read; do ls /dev/null; done\r\n$
|
||||
r ^/dev/null\r\n$
|
||||
r ^/dev/null\r\n$
|
||||
r ^/dev/null\r\n$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue