mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
tests/pty.sh: disable 137(C) because it actually tests vi(1)
Testing the behaviour of an external editor, even the standard one, is outside the scope of the ksh regression tests. src/cmd/ksh93/tests/pty.sh: - Disable a test that invoked vi(1) and that failed, either intermittently or consistently, on too many systems because whatever vi(1) is installed locally doesn't write the string "/tmp/" exactly as and/or when expected.
This commit is contained in:
parent
5c677a4c6c
commit
43c09c2d6f
1 changed files with 8 additions and 1 deletions
|
@ -369,7 +369,13 @@ u #echo save
|
|||
r history
|
||||
!
|
||||
|
||||
# err_exit #
|
||||
# Following test is disabled because it fails on too many systems, either intermittently
|
||||
# or consistently, through no fault of ksh, because vi(1) somehow fails to write "/tmp/"
|
||||
# as expected. Testing the POSIX compliance of whatever vi(1) the local system happens
|
||||
# to have is outside the scope of these tests, which are supposed to be testing ksh.
|
||||
# It is left here for re-enabling temporarily if related changes in ksh need testing.
|
||||
: <<\end_disabled
|
||||
# err_(don't count me)_exit #
|
||||
TMPDIR=/tmp tst $LINENO <<"!"
|
||||
L POSIX sh 137(C)
|
||||
|
||||
|
@ -389,6 +395,7 @@ s 400
|
|||
w :wq
|
||||
u ^hello world\r?\n$
|
||||
!
|
||||
end_disabled
|
||||
|
||||
# err_exit #
|
||||
tst $LINENO <<"!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue