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
Martijn Dekker fc5bd8e8c3 tests/sh_match.sh: redirect ulimit to 2>/dev/null
macOS 12.2.1 doesn't seem to like the -M, -v or -d ulimit options:

  sh_match.sh[502]: FAIL: test_xmlfragment1/0/testfile1.xml:
  Expected empty stderr, got $'test1_script.sh[2]: ulimit: 1048576:
  limit exceeded [Invalid argument]\ntest1_script.sh[3]: ulimit:
  1048576: limit exceeded [Invalid argument]\ntest1_script.sh[4]:
  ulimit: 1048576: limit exceeded [Invalid argument]'

The 'Invalid argument' addition is caused by errno==EINVAL and
suggests the OS either doesn't support setting this limit, or
support for it was somehow disabled.

src/cmd/ksh93/tests/sh_match.sh:
- Redirect standard error for ulimit commands to 2>/dev/null. If
  they fail it's pretty inconsequential and it's not related to
  actual ${.sh.match} testing at all.

Resolves: https://github.com/ksh93/ksh/issues/459
Thanks to @posguy99 for the report.
2022-02-17 19:38:59 +00:00
..
_common tests/leaks.sh: redesign with a more robust testing algorithm 2021-12-28 17:47:29 +00:00
alias.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
append.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
arith.sh Fix crash in xtrace while processing here-document (re: d7cada7b) 2021-12-27 04:02:25 +00:00
arrays.sh Fix the output of typeset -p for two dimensional indexed arrays (#454) 2022-02-10 21:01:40 +00:00
arrays2.sh Yet more misc. cleanups; rm SHOPT_PFSH, SHOPT_TYPEDEF 2022-02-10 21:04:56 +00:00
attributes.sh Do not export variables with dot names (re: 8e72608c) 2022-02-05 15:08:50 +00:00
basic.sh Yet more misc. cleanups; rm SHOPT_PFSH, SHOPT_TYPEDEF 2022-02-10 21:04:56 +00:00
bracket.sh Accumulated fixes for minor issues (#442) 2022-01-30 20:42:59 +00:00
builtins.sh Accumulated fixes for minor issues (#442) 2022-01-30 20:42:59 +00:00
case.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
comvar.sh Yet more misc. cleanups; rm SHOPT_PFSH, SHOPT_TYPEDEF 2022-02-10 21:04:56 +00:00
comvario.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
coprocess.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
cubetype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
enum.sh Yet more misc. cleanups; rm SHOPT_PFSH, SHOPT_TYPEDEF 2022-02-10 21:04:56 +00:00
exit.sh Allow regression tests to pass without any /opt/ast/bin builtins (#403) 2021-12-28 17:52:57 +00:00
expand.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
functions.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
glob.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
grep.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
heredoc.sh Allow regression tests to pass without any /opt/ast/bin builtins (#403) 2021-12-28 17:52:57 +00:00
io.sh do not save file desc state for subshares (re: 6304dfce, fb755163) 2022-02-17 19:36:50 +00:00
jobs.sh ...and now make it work with shcomp (re: aed5c6d7) 2021-03-13 19:27:15 +00:00
leaks.sh tests/leaks.sh: add a newly discovered leak as known 2021-12-28 21:59:50 +00:00
locale.sh Allow regression tests to pass without any /opt/ast/bin builtins (#403) 2021-12-28 17:52:57 +00:00
math.sh Fix xtrace (shtests -x) for the regression tests 2021-05-14 19:56:11 +02:00
nameref.sh Yet more misc. cleanups; rm SHOPT_PFSH, SHOPT_TYPEDEF 2022-02-10 21:04:56 +00:00
namespace.sh Export all variables assigned to while allexport is on (#431) 2022-02-05 13:52:28 +00:00
options.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
path.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
pointtype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
pty.sh Do not disable completion along with pathname expansion 2022-02-17 19:38:15 +00:00
quoting.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
quoting2.sh Yet more misc. cleanups; rm SHOPT_PFSH, SHOPT_TYPEDEF 2022-02-10 21:04:56 +00: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 Fix crash in xtrace while processing here-document (re: d7cada7b) 2021-12-27 04:02:25 +00:00
select.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
sh_match.sh tests/sh_match.sh: redirect ulimit to 2>/dev/null 2022-02-17 19:38:59 +00:00
shtests Some more accumulated minor tweaks and cleanups 2022-01-25 16:13:15 +00:00
sigchld.sh tests/sigchild.sh: try to fix intermittent fail (re: dc80f40d) 2022-02-17 19:37:41 +00:00
signal.sh Fix SIGINT handling for external commands run from scripts 2022-02-01 05:50:10 +00:00
statics.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
subshell.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
substring.sh Fix multiple bugs in .sh.match (#455) 2022-02-10 21:04:23 +00:00
tilde.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00:00
timetype.sh Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
treemove.sh Fix multiple bugs in .sh.match (#455) 2022-02-10 21:04:23 +00:00
types.sh Fix multiple bugs in .sh.match (#455) 2022-02-10 21:04:23 +00:00
variables.sh Update copyright years in files changed since 1st Jan 2022 2022-01-30 20:49:04 +00: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