Skip to content

Commit

Permalink
tests/pty.sh: disable 'process/terminal group exercise' for now
Browse files Browse the repository at this point in the history
Apparently, pty doens't handle SIGTSTP correctly:
att#375
#45 (comment)

src/cmd/ksh93/tests/pty.sh:
- Disable the 'process/terminal group exercise' regression test,
  which depends on correct SIGTSTP handling, until pty can be
  fixed.

Closes #45.
  • Loading branch information
McDutchie committed Jul 4, 2020
1 parent b2382ef commit 1ca9286
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cmd/ksh93/tests/pty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,12 @@ c n
r echo repeat-3
!

# err_exit #
# Following test is disabled because a bug in pty causes it to fail on too
# many operating systems. Apparently pty doesn't handle SIGSTP correctly:
# https://github.com/att/ast/issues/375
# TODO: fix pty and re-enable this test.
: <<\end_disabled
# err_(don't count me)_exit #
whence -q less &&
TERM=vt100 tst $LINENO <<"!"
L process/terminal group exercise
Expand All @@ -453,6 +458,7 @@ r Stopped
w fg
u yes-yes
!
end_disabled

# err_exit #
# Test file name completion in vi mode
Expand Down

0 comments on commit 1ca9286

Please sign in to comment.