1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

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.
This commit is contained in:
Martijn Dekker 2021-03-19 15:08:23 +00:00
parent 48e6dd989c
commit c33b75e5bf

View file

@ -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