diff --git a/src/cmd/ksh93/tests/pty.sh b/src/cmd/ksh93/tests/pty.sh index da4d8ee4cebe..86c6ace79972 100755 --- a/src/cmd/ksh93/tests/pty.sh +++ b/src/cmd/ksh93/tests/pty.sh @@ -954,7 +954,7 @@ w : ..\t r : \.\./\r\n$ ! -tst $LINENO <<"!" +((SHOPT_VSH)) && tst $LINENO <<"!" L Ctrl+C with SIGINT ignored # https://github.com/ksh93/ksh/issues/343 # Fix improved on 2024-02-12.