1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/ksh93/tests
Johnothan King 3a5752218d Shorten command name used to test ENAMETOOLONG exit status (#333)
A change in FreeBSD 13 now causes extremely long command names to
exit with errno set to E2BIG if the name can't fit in the list of
arguments. This was causing the regression tests for ENAMETOOLONG
to fail on FreeBSD 13 because the exit status for these errors
differ (ENAMETOOLONG uses status 127 while E2BIG uses status 126).

src/cmd/ksh93/tests/path.sh:
- To fix the failing regression tests, the command name has been
  shortened to twice the length of NAME_MAX. This length is still
  long enough to trigger an ENAMETOOLONG error without causing an
  E2BIG failure on FreeBSD 13.

Fixes https://github.com/ksh93/ksh/issues/331
2021-11-12 04:35:04 +01:00
..
_common Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
alias.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
append.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
arith.sh Fix octal number arguments in printf integer arithmetic 2021-09-13 04:57:37 +02:00
arrays.sh Fix some bugs in the regression tests and add more regression tests (#295) 2021-05-03 06:52:27 +01:00
arrays2.sh Correct regression for compound arithmetic expressions (re: 642a1053) (#297) 2021-05-05 03:29:19 +01:00
attributes.sh Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
basic.sh Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
bracket.sh [[ ... ]]: fix '!' to negate another '!' 2021-06-03 15:57:16 +02:00
builtins.sh Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
case.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
comvar.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
comvario.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
coprocess.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
cubetype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
enum.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
exit.sh Fix shell exit on function call redirection error (re: 23f2e23) 2021-05-19 06:59:18 +02:00
expand.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
functions.sh Fix some bugs in the regression tests and add more regression tests (#295) 2021-05-03 06:52:27 +01:00
glob.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
grep.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
heredoc.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
io.sh Fix bug on closed stdout; improve BUG_PUTIOERR fix (re: 93e15a30) 2021-11-07 15:44:06 +00:00
jobs.sh ...and now make it work with shcomp (re: aed5c6d7) 2021-03-13 19:27:15 +00:00
leaks.sh Enable some memory leak tests for standard malloc (re: 05683ec7) (#311) 2021-05-21 01:52:32 +02:00
locale.sh tests/locale.sh: skip SJIS test on non-SJIS locale (re: c2cb0eae) 2021-05-11 21:07:33 +02:00
math.sh Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
nameref.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
namespace.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
options.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
path.sh Shorten command name used to test ENAMETOOLONG exit status (#333) 2021-11-12 04:35:04 +01:00
pointtype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
pty.sh Re-fix 'test -t 1' in command substitutions (re: 090b65e7) 2021-05-14 04:52:18 +02:00
quoting.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
quoting2.sh Fix remaining bug in ${var:-'{}'} (re: d087b031) 2021-05-03 03:14:30 +01:00
readcsv.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
readonly.sh Adjust readonly regression tests for freezes (#267) 2021-04-11 19:57:40 +01:00
recttype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
restricted.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
return.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
select.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
shtests Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
sigchld.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
signal.sh Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
statics.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
subshell.sh Fix backtick comsubs by making them act like $(modern) ones 2021-08-13 09:14:11 +02:00
substring.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
tilde.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
timetype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
treemove.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
types.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
variables.sh Add regression test (re: e5e1d4b5) 2021-05-19 06:13:30 +02:00
vartree1.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
vartree2.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00