I made some tests and with or without my patch in the "Leak on unset of associative array" email, it always shows a failure like this:
---8<--- test options(C.UTF-8) begins at 2015-02-04+19:52:09 options.sh[416]: & job delayed by --pipefail, expected '1212 or 1221', got '121' test options(C.UTF-8) failed at 2015-02-04+19:52:14 with exit code 1 [ 143 tests 1 error ] test options(shcomp) begins at 2015-02-04+19:52:14 shcomp-options.ksh[416]: & job delayed by --pipefail, expected '1212 or 1221', got '122' test options(shcomp) failed at 2015-02-04+19:52:19 with exit code 1 [ 143 tests 1 error ] ---8<--- BTW, it appears there is a typo in src/cmd/ksh93/tests/options.sh ... $SHELL -uc 'var=foo;unset var;: ${#var}' >/dev/null 2>&1 && err_exit '${#var} should fail with set -u' $SHELL -uc 'var=foo;unset var;: ${var-OK}' >/dev/null 2>&1 || err_exit '${var-OK} should not fail with set -u' $SHELL -uc 'var=foo;nset var;: ${var:-OK}' >/dev/null 2>&1 || err_exit '${var:-OK} should not fail with set -u' ... I believe it should be 'unset' and not 'nset'. Thanks, Paulo _______________________________________________ ast-users mailing list ast-users@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-users