1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Regression test tweaks to avoid false fails on Solaris

src/cmd/ksh93/tests/path.sh:
- Re-export PATH after unsetting it.

src/cmd/ksh93/tests/pty.sh:
- Increase some delays.
This commit is contained in:
Martijn Dekker 2021-01-10 20:53:41 +01:00
parent 9b7c392a7c
commit e981f7c8b8
2 changed files with 5 additions and 4 deletions

View file

@ -302,6 +302,7 @@ then PATH=
fi fi
fi fi
PATH=/dev:$tmp PATH=/dev:$tmp
export PATH
x=$(whence rm) x=$(whence rm)
typeset foo=$(PATH=/xyz:/abc :) typeset foo=$(PATH=/xyz:/abc :)
y=$(whence rm) y=$(whence rm)

View file

@ -488,7 +488,7 @@ L raw Bourne mode literal tab characters with wide characters disabled
# This gets handled by ed_read() in edit.c; it does not expand tab # This gets handled by ed_read() in edit.c; it does not expand tab
# characters on the command line. # characters on the command line.
d 10 d 20
p :test-1: p :test-1:
w set +o vi +o emacs w set +o vi +o emacs
p :test-2: p :test-2:
@ -504,7 +504,7 @@ L raw Bourne mode literal tab characters with wide characters enabled
# This gets handled by ed_viread() in vi.c (even though vi mode is off); # This gets handled by ed_viread() in vi.c (even though vi mode is off);
# it expands tab characters to spaces on the command line. # it expands tab characters to spaces on the command line.
d 10 d 20
p :test-1: p :test-1:
w set +o vi +o emacs w set +o vi +o emacs
p :test-2: p :test-2:
@ -520,7 +520,7 @@ L raw Bourne mode backslash handling
# The escaping backslash feature should be disabled in the raw Bourne mode. # The escaping backslash feature should be disabled in the raw Bourne mode.
# This is tested with both erase and kill characters. # This is tested with both erase and kill characters.
d 10 d 20
p :test-1: p :test-1:
w set +o vi +o emacs; stty erase ^H kill ^X w set +o vi +o emacs; stty erase ^H kill ^X
p :test-2: p :test-2:
@ -540,7 +540,7 @@ L escaping backslashes in $mode mode
# Backslashes should only be escaped if the previous input was a backslash. # Backslashes should only be escaped if the previous input was a backslash.
# Other backslashes stored in the input buffer should be erased normally. # Other backslashes stored in the input buffer should be erased normally.
d 10 d 20
p :test-1: p :test-1:
w set -o $mode; stty erase ^H w set -o $mode; stty erase ^H
p :test-2: p :test-2: