Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.637 2013/11/30 17:41:32 tg Exp $ @(#)MIRBSD KSH R48 2013/11/30 This shell is actually: @(#)MIRBSD KSH R48 2013/11/30 test.sh built for mksh R48 2013/11/30 Trying Perl interpreter 'perl5'... ./test.sh[70]: perl5: not found Errorlevel 127, running on '' => not using Trying Perl interpreter 'perl'... Errorlevel 0, running on 'sysv, Perl version 5.00503' => using it + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.01 pass ./check.t.01:KSH_VERSION pass ./check.t.01:selftest-1 pass ./check.t.01:selftest-2 pass ./check.t.01:selftest-3 pass ./check.t.01:selftest-direct-builtin-call pass ./check.t.01:alias-1 pass ./check.t.01:alias-2 pass ./check.t.01:alias-3 pass ./check.t.01:alias-4 pass ./check.t.01:alias-5 pass ./check.t.01:alias-6 pass ./check.t.01:alias-7 pass ./check.t.01:alias-8 Total failed: 0 Total passed: 13 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.02 pass ./check.t.02:alias-9 pass ./check.t.02:alias-10 pass ./check.t.02:arith-lazy-1 pass ./check.t.02:arith-lazy-2 pass ./check.t.02:arith-lazy-3 pass ./check.t.02:arith-lazy-4 pass ./check.t.02:arith-ternary-prec-1 pass ./check.t.02:arith-ternary-prec-2 pass ./check.t.02:arith-div-assoc-1 pass ./check.t.02:arith-div-byzero pass ./check.t.02:arith-div-intmin-by-minusone pass ./check.t.02:arith-assop-assoc-1 pass ./check.t.02:arith-mandatory pass ./check.t.02:arith-unsigned-1 pass ./check.t.02:arith-limit32-1 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.03 pass ./check.t.03:bksl-nl-ign-1 pass ./check.t.03:bksl-nl-ign-2 pass ./check.t.03:bksl-nl-ign-3 pass ./check.t.03:bksl-nl-ign-4 pass ./check.t.03:bksl-nl-ign-5 pass ./check.t.03:bksl-nl-1 pass ./check.t.03:bksl-nl-2 pass ./check.t.03:bksl-nl-3 pass ./check.t.03:bksl-nl-4 pass ./check.t.03:bksl-nl-5 pass ./check.t.03:bksl-nl-6 pass ./check.t.03:bksl-nl-7 pass ./check.t.03:bksl-nl-8 pass ./check.t.03:bksl-nl-9 pass ./check.t.03:bksl-nl-10 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.04 pass ./check.t.04:bksl-nl-ksh-1 pass ./check.t.04:bksl-nl-ksh-2 pass ./check.t.04:break-1 pass ./check.t.04:break-2 pass ./check.t.04:break-3 pass ./check.t.04:break-4 pass ./check.t.04:break-5 pass ./check.t.04:continue-1 pass ./check.t.04:continue-2 pass ./check.t.04:continue-3 pass ./check.t.04:continue-4 pass ./check.t.04:continue-5 pass ./check.t.04:cd-history pass ./check.t.04:env-prompt pass ./check.t.04:expand-ugly Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.05 pass ./check.t.05:expand-unglob-dblq pass ./check.t.05:expand-unglob-unq pass ./check.t.05:expand-threecolons-dblq pass ./check.t.05:expand-threecolons-unq pass ./check.t.05:expand-weird-1 pass ./check.t.05:expand-weird-2 pass ./check.t.05:expand-weird-3 pass ./check.t.05:eglob-bad-1 pass ./check.t.05:eglob-bad-2 pass ./check.t.05:eglob-infinite-plus pass ./check.t.05:eglob-subst-1 pass ./check.t.05:eglob-nomatch-1 pass ./check.t.05:eglob-match-1 pass ./check.t.05:eglob-case-1 pass ./check.t.05:eglob-case-2 pass ./check.t.05:eglob-trim-1 Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.06 pass ./check.t.06:eglob-trim-2 pass ./check.t.06:eglob-trim-3 pass ./check.t.06:eglob-substrpl-1 pass ./check.t.06:eglob-substrpl-2 pass ./check.t.06:eglob-substrpl-3a pass ./check.t.06:eglob-substrpl-3b pass ./check.t.06:eglob-substrpl-3c pass ./check.t.06:eglob-utf8-1 pass ./check.t.06:glob-bad-1 pass ./check.t.06:glob-range-1 pass ./check.t.06:glob-range-2 pass ./check.t.06:glob-range-3 pass ./check.t.06:glob-range-4 pass ./check.t.06:glob-range-5 pass ./check.t.06:glob-trim-1 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.07 pass ./check.t.07:heredoc-1 pass ./check.t.07:heredoc-2 pass ./check.t.07:heredoc-3 pass ./check.t.07:heredoc-4 pass ./check.t.07:heredoc-5 pass ./check.t.07:heredoc-6 pass ./check.t.07:heredoc-7 pass ./check.t.07:heredoc-8 pass ./check.t.07:heredoc-9a pass ./check.t.07:heredoc-9c pass ./check.t.07:heredoc-9d pass ./check.t.07:heredoc-9e pass ./check.t.07:heredoc-10 pass ./check.t.07:heredoc-11 pass ./check.t.07:heredoc-comsub-1 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.08 pass ./check.t.08:heredoc-comsub-2 pass ./check.t.08:heredoc-comsub-3 pass ./check.t.08:heredoc-comsub-4 pass ./check.t.08:heredoc-subshell-1 pass ./check.t.08:heredoc-subshell-2 pass ./check.t.08:heredoc-subshell-3 pass ./check.t.08:heredoc-weird-1 pass ./check.t.08:heredoc-weird-2 pass ./check.t.08:heredoc-weird-4 pass ./check.t.08:heredoc-weird-5 pass ./check.t.08:heredoc-tmpfile-1 pass ./check.t.08:heredoc-tmpfile-2 pass ./check.t.08:heredoc-tmpfile-3 pass ./check.t.08:heredoc-tmpfile-4 pass ./check.t.08:heredoc-tmpfile-5 pass ./check.t.08:heredoc-tmpfile-6 Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.09 pass ./check.t.09:heredoc-tmpfile-7 pass ./check.t.09:heredoc-tmpfile-8 pass ./check.t.09:heredoc-quoting-unsubst pass ./check.t.09:heredoc-quoting-subst pass ./check.t.09:single-quotes-in-braces pass ./check.t.09:single-quotes-in-quoted-braces pass ./check.t.09:single-quotes-in-braces-nested pass ./check.t.09:single-quotes-in-brace-pattern pass ./check.t.09:single-quotes-in-heredoc-braces pass ./check.t.09:single-quotes-in-nested-braces pass ./check.t.09:single-quotes-in-nested-quoted-braces pass ./check.t.09:single-quotes-in-nested-braces-nested pass ./check.t.09:single-quotes-in-nested-brace-pattern pass ./check.t.09:single-quotes-in-heredoc-nested-braces pass ./check.t.09:history-basic pass ./check.t.09:history-dups Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.10 pass ./check.t.10:history-unlink pass ./check.t.10:history-e-minus-1 pass ./check.t.10:history-e-minus-2 pass ./check.t.10:history-e-minus-3 pass ./check.t.10:history-e-minus-4 pass ./check.t.10:history-e-minus-5 pass ./check.t.10:history-list-1 pass ./check.t.10:history-list-2 pass ./check.t.10:history-list-3 pass ./check.t.10:history-list-4 pass ./check.t.10:history-list-5 pass ./check.t.10:history-list-6 pass ./check.t.10:history-list-7 pass ./check.t.10:history-list-r-1 pass ./check.t.10:history-list-r-2 pass ./check.t.10:history-list-r-3 Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.11 pass ./check.t.11:history-subst-1 pass ./check.t.11:history-subst-2 pass ./check.t.11:history-subst-3 pass ./check.t.11:history-subst-4 pass ./check.t.11:history-subst-5 pass ./check.t.11:history-ed-1-old pass ./check.t.11:history-ed-2-old FAIL ./check.t.11:history-ed-3-old (ignored) Description: Newly created multi line commands show up as single command in history. (NOTE: adjusted for COMPLEX HISTORY compile time option) (ksh88 fails 'cause it lists the fc command) unexpected stdout - got too little output wanted: abc def 13 32 FOOBAR def a new line 1 echo abc def 2 echo FOOBAR def 3 echo a new line got: abc def 13 32 FOOBAR def a new line pass ./check.t.11:IFS-space-1 pass ./check.t.11:IFS-colon-1 pass ./check.t.11:IFS-null-1 pass ./check.t.11:IFS-space-colon-1 pass ./check.t.11:IFS-space-colon-2 Total failed: 1 (1 ignored) Total passed: 12 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.12 pass ./check.t.12:IFS-space-colon-4 pass ./check.t.12:IFS-space-colon-5 pass ./check.t.12:IFS-subst-1 fail ./check.t.12:IFS-subst-2 (as expected) Description: Check leading whitespace after trim does not make a field unexpected stdout - first difference: line 1, char 15 (wanted '1', got '>' wanted: <1> <1> <2> got: <1> <> <1> <2> pass ./check.t.12:integer-base-err-1 pass ./check.t.12:integer-base-err-2 pass ./check.t.12:integer-base-err-3 pass ./check.t.12:integer-base-err-4 pass ./check.t.12:integer-base-1 pass ./check.t.12:integer-base-2 pass ./check.t.12:integer-base-3 pass ./check.t.12:integer-base-4 pass ./check.t.12:integer-base-5 pass ./check.t.12:integer-base-6 pass ./check.t.12:integer-base-7 pass ./check.t.12:integer-base-check-flat Total failed: 1 (as expected) Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.13 pass ./check.t.13:integer-base-check-numeric-from pass ./check.t.13:integer-base-check-numeric-to pass ./check.t.13:integer-arithmetic-span pass ./check.t.13:lineno-stdin pass ./check.t.13:lineno-inc pass ./check.t.13:lineno-func pass ./check.t.13:lineno-unset pass ./check.t.13:lineno-unset-use pass ./check.t.13:lineno-trap pass ./check.t.13:unknown-trap pass ./check.t.13:read-IFS-1 pass ./check.t.13:read-ksh-1 pass ./check.t.13:read-regress-1 pass ./check.t.13:read-delim-1 Total failed: 0 Total passed: 14 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.14 pass ./check.t.14:read-ext-1 pass ./check.t.14:regression-1 pass ./check.t.14:regression-2 pass ./check.t.14:regression-6 pass ./check.t.14:regression-9 pass ./check.t.14:regression-10 pass ./check.t.14:regression-11 pass ./check.t.14:regression-12 pass ./check.t.14:regression-13 pass ./check.t.14:regression-14 pass ./check.t.14:regression-15 pass ./check.t.14:regression-16 pass ./check.t.14:regression-17 pass ./check.t.14:regression-19 pass ./check.t.14:regression-21 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.15 pass ./check.t.15:regression-22 pass ./check.t.15:regression-23 pass ./check.t.15:regression-25 FAIL ./check.t.15:regression-26 Description: Check reading stdin in a while loop. The read should read both lines, not just the first. unexpected stdout - first difference: line 1, char 1 (wanted 'b', got '\n' wanted: b got: b pass ./check.t.15:regression-27 pass ./check.t.15:regression-28 pass ./check.t.15:regression-29 pass ./check.t.15:regression-30 pass ./check.t.15:regression-31 pass ./check.t.15:regression-32 pass ./check.t.15:regression-33 pass ./check.t.15:regression-35 pass ./check.t.15:regression-36 pass ./check.t.15:regression-37 pass ./check.t.15:regression-38 pass ./check.t.15:regression-39 Total failed: 1 (1 unexpected) Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.16 pass ./check.t.16:regression-40 pass ./check.t.16:regression-41 pass ./check.t.16:regression-42 FAIL ./check.t.16:regression-43 Description: Can subshells be prefixed by redirections (historical shells allow this) unexpected stdout - got too much output wanted nothing got: X pass ./check.t.16:regression-45 pass ./check.t.16:regression-46 pass ./check.t.16:regression-47 pass ./check.t.16:regression-48 pass ./check.t.16:regression-49 pass ./check.t.16:regression-50 pass ./check.t.16:regression-51 pass ./check.t.16:regression-52 pass ./check.t.16:regression-53 pass ./check.t.16:regression-54 pass ./check.t.16:regression-55 pass ./check.t.16:regression-57 Total failed: 1 (1 unexpected) Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.17 FAIL ./check.t.17:regression-58 Description: Check if trap exit is ok (exit not mistaken for signal name) unexpected stdout - got too much output wanted: hi got: hi hi pass ./check.t.17:regression-59 pass ./check.t.17:regression-60 FAIL ./check.t.17:regression-61 Description: Check if EXIT trap is executed for sub shells. unexpected stdout - got too much output wanted: start A A last B C C last sub exit parent last parent exit got: start A A last B C C last sub exit parent last parent exit parent exit pass ./check.t.17:regression-62 pass ./check.t.17:regression-63 pass ./check.t.17:regression-64 pass ./check.t.17:regression-65 pass ./check.t.17:regression-66 pass ./check.t.17:readonly-0 pass ./check.t.17:readonly-1 pass ./check.t.17:readonly-2a pass ./check.t.17:readonly-2b pass ./check.t.17:readonly-3 pass ./check.t.17:syntax-1 pass ./check.t.17:xxx-quoted-newline-1 Total failed: 2 (2 unexpected) Total passed: 14 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.18 pass ./check.t.18:xxx-quoted-newline-2 pass ./check.t.18:xxx-quoted-newline-3 pass ./check.t.18:xxx-multi-assignment-cmd pass ./check.t.18:xxx-multi-assignment-posix-cmd pass ./check.t.18:xxx-multi-assignment-posix-nocmd pass ./check.t.18:xxx-multi-assignment-posix-subassign pass ./check.t.18:xxx-exec-environment-1 pass ./check.t.18:xxx-exec-environment-2 pass ./check.t.18:exec-function-environment-1 pass ./check.t.18:xxx-what-do-you-call-this-1 pass ./check.t.18:xxx-prefix-strip-1 pass ./check.t.18:xxx-prefix-strip-2 pass ./check.t.18:xxx-variable-syntax-1 pass ./check.t.18:xxx-variable-syntax-2 pass ./check.t.18:xxx-variable-syntax-3 pass ./check.t.18:xxx-substitution-eval-order Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.19 pass ./check.t.19:xxx-set-option-1 pass ./check.t.19:xxx-exec-1 pass ./check.t.19:xxx-while-1 pass ./check.t.19:xxx-status-1 pass ./check.t.19:xxx-status-2 pass ./check.t.19:xxx-clean-chars-1 pass ./check.t.19:xxx-param-subst-qmark-1 pass ./check.t.19:xxx-param-_-1 pass ./check.t.19:tilde-expand-1 pass ./check.t.19:tilde-expand-2 pass ./check.t.19:exit-err-1 pass ./check.t.19:exit-err-2 FAIL ./check.t.19:exit-err-3 Description: pdksh regression which AT&T ksh does right TFM says: [set] -e | errexit Exit (after executing the ERR trap) ... unexpected stdout - got too much output wanted: ERR EXIT got: ERR EXIT EXIT pass ./check.t.19:exit-err-4 pass ./check.t.19:exit-err-5 Total failed: 1 (1 unexpected) Total passed: 14 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.20 pass ./check.t.20:exit-err-7 pass ./check.t.20:exit-err-8 pass ./check.t.20:exit-enoent-1 pass ./check.t.20:exit-eval-1 pass ./check.t.20:exit-trap-1 FAIL ./check.t.20:exit-trap-2 Description: Check that ERR and EXIT traps are run just like ksh93 does. GNU bash does not run ERtrap in ±e eval-undef but runs it twice (bug?) in +e eval-false, so does ksh93 (bug?), which also has a bug to continue execution (echoing "and out" and returning 0) in +e eval-undef. unexpected stdout - first difference: line 5, char 1 (wanted '=', got 'E' wanted: : -e and run true and out EXtrap = eval-true 0 . and run false ERtrap EXtrap = eval-false 1 . and run ${v?} x: v: parameter null or not set ERtrap EXtrap = eval-undef 1 . and run true and out EXtrap = noeval-true 0 . and run false ERtrap EXtrap = noeval-false 1 . and run ${v?} xu: v: parameter null or not set EXtrap = noeval-undef 1 . : +e and run true and out EXtrap = eval-true 0 . and run false ERtrap and out EXtrap = eval-false 0 . and run ${v?} x: v: parameter null or not set ERtrap EXtrap = eval-undef 1 . and run true and out EXtrap = noeval-true 0 . and run false ERtrap and out EXtrap = noeval-false 0 . and run ${v?} xu: v: parameter null or not set EXtrap = noeval-undef 1 . got: : -e and run true and out EXtrap EXtrap = eval-true 0 . and run false ERtrap EXtrap EXtrap = eval-false 1 . and run ${v?} x: v: parameter null or not set ERtrap EXtrap EXtrap EXtrap = eval-undef 1 . and run true and out EXtrap EXtrap = noeval-true 0 . and run false ERtrap EXtrap EXtrap = noeval-false 1 . and run ${v?} xu: v: parameter null or not set EXtrap EXtrap = noeval-undef 1 . : +e and run true and out EXtrap EXtrap = eval-true 0 . and run false ERtrap and out EXtrap EXtrap = eval-false 0 . and run ${v?} x: v: parameter null or not set ERtrap EXtrap EXtrap EXtrap = eval-undef 1 . and run true and out EXtrap EXtrap = noeval-true 0 . and run false ERtrap and out EXtrap EXtrap = noeval-false 0 . and run ${v?} xu: v: parameter null or not set EXtrap EXtrap = noeval-undef 1 . FAIL ./check.t.20:exit-trap-interactive Description: Check that interactive shell doesn't exit via EXIT trap on syntax error unexpected stdout - got too much output wanted: After error 1 After error 2 Exit trap got: After error 1 After error 2 Exit trap Exit trap pass ./check.t.20:test-stlt-1 pass ./check.t.20:test-precedence-1 pass ./check.t.20:test-option-1 pass ./check.t.20:mkshrc-1 pass ./check.t.20:mkshrc-2a pass ./check.t.20:mkshrc-2b pass ./check.t.20:mkshrc-3 pass ./check.t.20:sh-mode-1 pass ./check.t.20:sh-mode-2a Total failed: 2 (2 unexpected) Total passed: 14 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.21 pass ./check.t.21:pipeline-1 pass ./check.t.21:pipeline-2 pass ./check.t.21:pipeline-3 pass ./check.t.21:pipeline-4 pass ./check.t.21:typeset-1 pass ./check.t.21:typeset-padding-1 pass ./check.t.21:typeset-padding-2 pass ./check.t.21:utf8bom-1 FAIL ./check.t.21:utf8bom-2 (ignored) Description: Check that we can execute BOM-shebangs (failures not fatal) XXX if the OS can already execute them, we lose note: cygwin execve(2) doesn't return to us with ENOEXEC, we lose note: Ultrix perl5 t4 returns 65280 (exit-code 255) and no text unexpected exit status 256 (exit-code 1), expected 0 unexpected stdout - got too little output wanted: 1 a=/nonexistant{FOO} 2 a=/nonexistant{FOO} 3 a=BAR 4 a=BAR got: 1 a=/nonexistant{FOO} 2 a=/nonexistant{FOO} pass ./check.t.21:utf8opt-1a pass ./check.t.21:utf8opt-2a pass ./check.t.21:utf8opt-3a Total failed: 1 (1 ignored) Total passed: 11 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.22 pass ./check.t.22:utf8opt-3b pass ./check.t.22:aliases-1-hartz4 pass ./check.t.22:aliases-2b-hartz4 pass ./check.t.22:aliases-3b-hartz4 pass ./check.t.22:aliases-cmdline pass ./check.t.22:aliases-funcdef-1 pass ./check.t.22:aliases-funcdef-2 pass ./check.t.22:aliases-funcdef-3 pass ./check.t.22:aliases-funcdef-4 pass ./check.t.22:arrays-1 pass ./check.t.22:arrays-2a Total failed: 0 Total passed: 11 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.23 pass ./check.t.23:arrays-2b pass ./check.t.23:arrays-3 pass ./check.t.23:arrays-4 pass ./check.t.23:arrays-5 pass ./check.t.23:arrays-6 pass ./check.t.23:arrays-7 pass ./check.t.23:arrays-8 pass ./check.t.23:arrays-9a pass ./check.t.23:arrays-9b pass ./check.t.23:arrassign-basic pass ./check.t.23:arrassign-fnc-none pass ./check.t.23:arrassign-fnc-local pass ./check.t.23:arrassign-fnc-global pass ./check.t.23:strassign-fnc-none pass ./check.t.23:strassign-fnc-local pass ./check.t.23:strassign-fnc-global Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.24 pass ./check.t.24:varexpand-substr-1 pass ./check.t.24:varexpand-substr-2 pass ./check.t.24:varexpand-substr-3 pass ./check.t.24:varexpand-substr-4 pass ./check.t.24:varexpand-substr-5A pass ./check.t.24:varexpand-substr-5W pass ./check.t.24:varexpand-substr-6 pass ./check.t.24:varexpand-special-hash pass ./check.t.24:varexpand-special-quote pass ./check.t.24:varexpand-null-1 pass ./check.t.24:varexpand-null-2 pass ./check.t.24:print-funny-chars pass ./check.t.24:print-bksl-c pass ./check.t.24:print-cr pass ./check.t.24:print-nul-chars pass ./check.t.24:print-escapes Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.25 pass ./check.t.25:dollar-doublequoted-strings pass ./check.t.25:dollar-quoted-strings pass ./check.t.25:dollar-quotes-in-heredocs-strings pass ./check.t.25:dot-needs-argument pass ./check.t.25:alias-function-no-conflict pass ./check.t.25:bash-function-parens pass ./check.t.25:integer-base-one-1 pass ./check.t.25:integer-base-one-2a pass ./check.t.25:integer-base-one-2b pass ./check.t.25:integer-base-one-2c1 pass ./check.t.25:integer-base-one-2c2 pass ./check.t.25:integer-base-one-2d1 pass ./check.t.25:integer-base-one-2d2 pass ./check.t.25:integer-base-one-2d3 pass ./check.t.25:integer-base-one-2d4 pass ./check.t.25:integer-base-one-2d5 Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.26 pass ./check.t.26:integer-base-one-2d6 pass ./check.t.26:integer-base-one-3As pass ./check.t.26:integer-base-one-3Ws pass ./check.t.26:integer-base-one-3Ar pass ./check.t.26:integer-base-one-3Wr pass ./check.t.26:integer-base-one-4 pass ./check.t.26:integer-base-one-5A pass ./check.t.26:integer-base-one-5W pass ./check.t.26:ulimit-1 pass ./check.t.26:redir-1 pass ./check.t.26:bashiop-1 pass ./check.t.26:bashiop-2a pass ./check.t.26:bashiop-2b pass ./check.t.26:bashiop-2c pass ./check.t.26:bashiop-3a pass ./check.t.26:bashiop-3b Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.27 pass ./check.t.27:bashiop-4 pass ./check.t.27:bashiop-5-normal pass ./check.t.27:oksh-eval pass ./check.t.27:oksh-and-list-error-1 pass ./check.t.27:oksh-and-list-error-2 pass ./check.t.27:oksh-or-list-error-1 pass ./check.t.27:oksh-longline-crash pass ./check.t.27:oksh-seterror-1 pass ./check.t.27:oksh-seterror-2 pass ./check.t.27:oksh-seterror-3 pass ./check.t.27:oksh-seterror-4 pass ./check.t.27:oksh-seterror-5 FAIL ./check.t.27:oksh-seterror-6 Description: When trapping ERR and EXIT, both traps should run in -e mode when an error occurs. unexpected stdout - got too much output wanted: ERR EXIT got: ERR EXIT EXIT Total failed: 1 (1 unexpected) Total passed: 12 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.28 pass ./check.t.28:oksh-seterror-7 pass ./check.t.28:oksh-input-comsub pass ./check.t.28:oksh-empty-for-list pass ./check.t.28:oksh-varfunction-mod1 pass ./check.t.28:fd-cloexec-1 pass ./check.t.28:fd-cloexec-2 pass ./check.t.28:comsub-1a pass ./check.t.28:comsub-1b pass ./check.t.28:comsub-2 pass ./check.t.28:comsub-3 pass ./check.t.28:comsub-4 pass ./check.t.28:comsub-5 pass ./check.t.28:comsub-torture pass ./check.t.28:comsub-torture-io pass ./check.t.28:funsub-1 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.29 pass ./check.t.29:funsub-2 pass ./check.t.29:valsub-1 pass ./check.t.29:test-stnze-1 pass ./check.t.29:test-stnze-2 pass ./check.t.29:event-subst-3 pass ./check.t.29:event-subst-0 pass ./check.t.29:nounset-1 pass ./check.t.29:nameref-1 pass ./check.t.29:nameref-2da pass ./check.t.29:nameref-3 pass ./check.t.29:nameref-4 pass ./check.t.29:better-parens-1a pass ./check.t.29:better-parens-1b pass ./check.t.29:better-parens-1c pass ./check.t.29:better-parens-2a pass ./check.t.29:better-parens-2b Total failed: 0 Total passed: 16 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.30 pass ./check.t.30:better-parens-2c pass ./check.t.30:better-parens-3a pass ./check.t.30:better-parens-3b pass ./check.t.30:better-parens-3c pass ./check.t.30:better-parens-4a pass ./check.t.30:better-parens-4b pass ./check.t.30:better-parens-4c pass ./check.t.30:echo-test-1 pass ./check.t.30:echo-test-2 pass ./check.t.30:echo-test-3-normal pass ./check.t.30:utilities-getopts-1 pass ./check.t.30:utilities-getopts-2 pass ./check.t.30:wcswidth-1 pass ./check.t.30:wcswidth-2 pass ./check.t.30:wcswidth-3 Total failed: 0 Total passed: 15 + perl ./check.pl -p /home/mksh/mksh -C shell:legacy-no,int:32,nosymlink,arge,convfds,no-histfile,stdout-ed,no-stderr-ed -v -s ./check.t.31 pass ./check.t.31:wcswidth-4a pass ./check.t.31:wcswidth-4b pass ./check.t.31:wcswidth-4c pass ./check.t.31:debian-117-1 pass ./check.t.31:debian-117-2 pass ./check.t.31:debian-117-3 pass ./check.t.31:debian-117-4 pass ./check.t.31:case-zsh pass ./check.t.31:case-braces pass ./check.t.31:command-shift pass ./check.t.31:duffs-device Total failed: 0 Total passed: 11