From 1ca9286ab8cc9b14098aeddb0b5623bfb13d6275 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Sat, 4 Jul 2020 23:31:40 +0200 Subject: [PATCH] tests/pty.sh: disable 'process/terminal group exercise' for now Apparently, pty doens't handle SIGTSTP correctly: https://github.com/att/ast/issues/375 https://github.com/ksh93/ksh/issues/45#issuecomment-653789092 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. --- src/cmd/ksh93/tests/pty.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/cmd/ksh93/tests/pty.sh b/src/cmd/ksh93/tests/pty.sh index e588226cc58a..5c0c50b1a69c 100755 --- a/src/cmd/ksh93/tests/pty.sh +++ b/src/cmd/ksh93/tests/pty.sh @@ -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 @@ -453,6 +458,7 @@ r Stopped w fg u yes-yes ! +end_disabled # err_exit # # Test file name completion in vi mode