From c33b75e5bf5cee6e040b02543055fcf5615dc3b3 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Fri, 19 Mar 2021 15:08:23 +0000 Subject: [PATCH] tests/pty.sh: rm 137(C) (re: 715b815a, 6f709122, 43c09c2d, 289f56cd) This was failing again on FreeBSD. Replicating the test in a real session worked as expected. Apparently, we just cannot rely on external 'vi' utilities playing well with pty. This test has caused enough trouble. Removed. --- src/cmd/ksh93/tests/pty.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/cmd/ksh93/tests/pty.sh b/src/cmd/ksh93/tests/pty.sh index 9e38db763..b7ba555dd 100755 --- a/src/cmd/ksh93/tests/pty.sh +++ b/src/cmd/ksh93/tests/pty.sh @@ -389,28 +389,6 @@ r history ! fi -# err_exit # -((SHOPT_VSH)) && whence -q vi && tst $LINENO <<"!" -L POSIX sh 137(C) - -# If the User Portability Utilities Option is supported and shell -# command line editing is supported: When in command mode, then v -# invokes the vi editor to edit the current command line in a temporary -# file. When the editor exits, the commands in the temporary file are -# executed. - -d 15 -p :test-1: -c echo hello\E -s 400 -c v -u 1 -c A world\E -s 400 -w :wq -u ^hello world\r?\n$ -! - if [[ $(id -u) == 0 ]] then warning "running as root: skipping test POSIX sh 251(C)" else