Testing mksh for conformance: # $MirOS: src/bin/mksh/check.t,v 1.536 2012/05/04 22:44:31 tg Exp $ @(#)MIRBSD KSH R40 2012/05/04 This shell is actually: Version JM 93u+ 2012-05-15 test.sh built for mksh R40 2012/05/04 Trying Perl interpreter 'perl5'... ./test.sh[54]: perl5: not found [No such file or directory] Errorlevel 127, running on '' => not using Trying Perl interpreter 'perl'... Errorlevel 0, running on 'uwin-nt, Perl version 5.008001' => using it pass ./check.t:KSH_VERSION pass ./check.t:selftest-1 pass ./check.t:selftest-2 pass ./check.t:selftest-3 pass ./check.t:selftest-direct-builtin-call pass ./check.t:alias-1 pass ./check.t:alias-2 pass ./check.t:alias-3 pass ./check.t:alias-4 pass ./check.t:alias-5 pass ./check.t:alias-6 pass ./check.t:alias-7 pass ./check.t:alias-8 pass ./check.t:alias-9 pass ./check.t:alias-10 pass ./check.t:arith-lazy-1 pass ./check.t:arith-lazy-2 pass ./check.t:arith-lazy-3 pass ./check.t:arith-ternary-prec-1 pass ./check.t:arith-ternary-prec-2 pass ./check.t:arith-div-assoc-1 pass ./check.t:arith-div-byzero pass ./check.t:arith-div-intmin-by-minusone pass ./check.t:arith-assop-assoc-1 pass ./check.t:arith-unsigned-1 pass ./check.t:arith-limit32-1 pass ./check.t:bksl-nl-ign-1 pass ./check.t:bksl-nl-ign-2 pass ./check.t:bksl-nl-ign-3 pass ./check.t:bksl-nl-ign-4 pass ./check.t:bksl-nl-ign-5 pass ./check.t:bksl-nl-1 pass ./check.t:bksl-nl-2 pass ./check.t:bksl-nl-3 pass ./check.t:bksl-nl-4 pass ./check.t:bksl-nl-5 pass ./check.t:bksl-nl-6 pass ./check.t:bksl-nl-7 pass ./check.t:bksl-nl-8 pass ./check.t:bksl-nl-9 pass ./check.t:bksl-nl-10 pass ./check.t:bksl-nl-ksh-1 pass ./check.t:bksl-nl-ksh-2 pass ./check.t:break-1 pass ./check.t:break-2 pass ./check.t:break-3 pass ./check.t:break-4 pass ./check.t:break-5 pass ./check.t:continue-1 pass ./check.t:continue-2 pass ./check.t:continue-3 pass ./check.t:continue-4 pass ./check.t:continue-5 pass ./check.t:cd-history FAIL ./check.t:cd-pe (ignored) Description: Check package for cd -Pe unexpected stdout - first difference: line 7, char 3 (wanted '1', got '0' wanted: 0=0 1=0,noread/target 2=0,noread/target/subdir now with -e: 0=0 1=0,noread/target 2=1,noread/target/subdir got: 0=0 1=0,noread/target 2=0,noread/target/subdir now with -e: 0=0 1=0,noread/target 2=0,noread/target/subdir unexpected stderr - got too much output wanted nothing got: mv: ../../noread: cannot rename to ../../renamed [Permission denied] chmod: renamed: not found [No such file or directory] mv: ../../noread: cannot rename to ../../renamed [Permission denied] chmod: renamed: not found [No such file or directory] pass ./check.t:env-prompt pass ./check.t:expand-ugly pass ./check.t:expand-unglob-dblq pass ./check.t:expand-unglob-unq pass ./check.t:expand-threecolons-dblq pass ./check.t:expand-threecolons-unq pass ./check.t:expand-weird-1 pass ./check.t:expand-weird-2 pass ./check.t:eglob-bad-1 pass ./check.t:eglob-bad-2 pass ./check.t:eglob-infinite-plus pass ./check.t:eglob-subst-1 pass ./check.t:eglob-nomatch-1 pass ./check.t:eglob-match-1 pass ./check.t:eglob-case-1 pass ./check.t:eglob-case-2 pass ./check.t:eglob-trim-1 pass ./check.t:eglob-trim-2 pass ./check.t:eglob-trim-3 pass ./check.t:eglob-substrpl-1 pass ./check.t:eglob-substrpl-2 pass ./check.t:eglob-substrpl-3a pass ./check.t:eglob-substrpl-3b pass ./check.t:eglob-substrpl-3c pass ./check.t:eglob-utf8-1 pass ./check.t:glob-bad-1 pass ./check.t:glob-bad-2 pass ./check.t:glob-range-1 pass ./check.t:glob-range-2 pass ./check.t:glob-range-3 pass ./check.t:glob-range-4 pass ./check.t:glob-range-5 pass ./check.t:heredoc-1 pass ./check.t:heredoc-2 pass ./check.t:heredoc-3 pass ./check.t:heredoc-4 pass ./check.t:heredoc-5 pass ./check.t:heredoc-6 pass ./check.t:heredoc-7 pass ./check.t:heredoc-8 pass ./check.t:heredoc-9a pass ./check.t:heredoc-9c pass ./check.t:heredoc-9d pass ./check.t:heredoc-9e pass ./check.t:heredoc-10 pass ./check.t:heredoc-11 pass ./check.t:heredoc-comsub-1 pass ./check.t:heredoc-comsub-2 pass ./check.t:heredoc-comsub-3 pass ./check.t:heredoc-comsub-4 pass ./check.t:heredoc-subshell-1 pass ./check.t:heredoc-subshell-2 pass ./check.t:heredoc-subshell-3 pass ./check.t:heredoc-weird-1 pass ./check.t:heredoc-weird-2 pass ./check.t:heredoc-weird-4 pass ./check.t:heredoc-weird-5 pass ./check.t:heredoc-quoting-unsubst pass ./check.t:heredoc-quoting-subst pass ./check.t:heredoc-tmpfile-1 pass ./check.t:heredoc-tmpfile-2 pass ./check.t:heredoc-tmpfile-3 pass ./check.t:heredoc-tmpfile-4 pass ./check.t:heredoc-tmpfile-5 pass ./check.t:heredoc-tmpfile-6 pass ./check.t:heredoc-tmpfile-7 pass ./check.t:heredoc-tmpfile-8 pass ./check.t:history-basic pass ./check.t:history-dups pass ./check.t:history-unlink pass ./check.t:history-e-minus-1 pass ./check.t:history-e-minus-2 pass ./check.t:history-e-minus-3 pass ./check.t:history-e-minus-4 pass ./check.t:history-e-minus-5 pass ./check.t:history-list-1 pass ./check.t:history-list-2 pass ./check.t:history-list-3 pass ./check.t:history-list-4 pass ./check.t:history-list-5 pass ./check.t:history-list-6 pass ./check.t:history-list-7 pass ./check.t:history-list-r-1 pass ./check.t:history-list-r-2 pass ./check.t:history-list-r-3 pass ./check.t:history-subst-1 pass ./check.t:history-subst-2 pass ./check.t:history-subst-3 pass ./check.t:history-subst-4 pass ./check.t:history-subst-5 pass ./check.t:history-ed-1-old pass ./check.t:history-ed-2-old pass ./check.t:history-ed-3-old pass ./check.t:IFS-space-1 pass ./check.t:IFS-colon-1 pass ./check.t:IFS-null-1 pass ./check.t:IFS-space-colon-1 pass ./check.t:IFS-space-colon-2 pass ./check.t:IFS-space-colon-4 pass ./check.t:IFS-space-colon-5 pass ./check.t:IFS-subst-1 pass ./check.t:integer-base-err-1 pass ./check.t:integer-base-err-2 pass ./check.t:integer-base-err-3 pass ./check.t:integer-base-err-4 pass ./check.t:integer-base-1 pass ./check.t:integer-base-2 pass ./check.t:integer-base-3 pass ./check.t:integer-base-4 pass ./check.t:integer-base-5 pass ./check.t:integer-base-6 pass ./check.t:integer-base-7 pass ./check.t:integer-base-check-flat pass ./check.t:integer-base-check-numeric-from pass ./check.t:integer-base-check-numeric-to pass ./check.t:integer-arithmetic-span pass ./check.t:lineno-stdin pass ./check.t:lineno-inc pass ./check.t:lineno-func pass ./check.t:lineno-unset pass ./check.t:lineno-unset-use pass ./check.t:lineno-trap pass ./check.t:unknown-trap pass ./check.t:read-IFS-1 pass ./check.t:read-ksh-1 pass ./check.t:read-regress-1 pass ./check.t:read-delim-1 pass ./check.t:read-ext-1 pass ./check.t:regression-1 pass ./check.t:regression-2 pass ./check.t:regression-6 pass ./check.t:regression-9 pass ./check.t:regression-10 pass ./check.t:regression-11 pass ./check.t:regression-12 pass ./check.t:regression-13 pass ./check.t:regression-14 pass ./check.t:regression-15 pass ./check.t:regression-16 pass ./check.t:regression-17 pass ./check.t:regression-19 pass ./check.t:regression-21 pass ./check.t:regression-22 pass ./check.t:regression-23 pass ./check.t:regression-25 FAIL ./check.t:regression-26 Description: Check reading stdin in a while loop. The read should read both lines, not just the first. unexpected stdout - got too much output wanted: b got: b b b b pass ./check.t:regression-27 pass ./check.t:regression-28 pass ./check.t:regression-29 pass ./check.t:regression-30 pass ./check.t:regression-31 pass ./check.t:regression-32 pass ./check.t:regression-33 pass ./check.t:regression-35 pass ./check.t:regression-36 pass ./check.t:regression-37 pass ./check.t:regression-38 pass ./check.t:regression-39 pass ./check.t:regression-40 pass ./check.t:regression-41 pass ./check.t:regression-42 FAIL ./check.t:regression-43 Description: Can subshells be prefixed by redirections (historical shells allow this) unexpected stdout - got too much output wanted nothing got: Xb pass ./check.t:regression-45 pass ./check.t:regression-46 pass ./check.t:regression-47 pass ./check.t:regression-48 pass ./check.t:regression-49 pass ./check.t:regression-50 pass ./check.t:regression-51 pass ./check.t:regression-52 pass ./check.t:regression-53 pass ./check.t:regression-54 pass ./check.t:regression-55 pass ./check.t:regression-57 pass ./check.t:regression-58 pass ./check.t:regression-59 pass ./check.t:regression-60 pass ./check.t:regression-61 pass ./check.t:regression-62 pass ./check.t:regression-63 pass ./check.t:regression-64 pass ./check.t:regression-65 pass ./check.t:regression-66 pass ./check.t:readonly-0 pass ./check.t:readonly-1 pass ./check.t:readonly-2a pass ./check.t:readonly-2b pass ./check.t:readonly-3 pass ./check.t:syntax-1 pass ./check.t:xxx-quoted-newline-1 pass ./check.t:xxx-quoted-newline-2 pass ./check.t:xxx-quoted-newline-3 pass ./check.t:xxx-multi-assignment-cmd pass ./check.t:xxx-multi-assignment-posix-cmd pass ./check.t:xxx-multi-assignment-posix-nocmd pass ./check.t:xxx-multi-assignment-posix-subassign pass ./check.t:xxx-exec-environment-1 pass ./check.t:xxx-exec-environment-2 pass ./check.t:exec-function-environment-1 pass ./check.t:xxx-what-do-you-call-this-1 pass ./check.t:xxx-prefix-strip-1 pass ./check.t:xxx-prefix-strip-2 pass ./check.t:xxx-variable-syntax-1 pass ./check.t:xxx-variable-syntax-2 pass ./check.t:xxx-variable-syntax-3 pass ./check.t:xxx-substitution-eval-order pass ./check.t:xxx-set-option-1 pass ./check.t:xxx-exec-1 pass ./check.t:xxx-while-1 pass ./check.t:xxx-status-1 pass ./check.t:xxx-status-2 pass ./check.t:xxx-clean-chars-1 pass ./check.t:xxx-param-subst-qmark-1 pass ./check.t:tilde-expand-1 pass ./check.t:exit-err-1 pass ./check.t:exit-err-2 pass ./check.t:exit-err-3 pass ./check.t:exit-err-4 pass ./check.t:exit-err-5 pass ./check.t:exit-enoent-1 pass ./check.t:exit-eval-1 pass ./check.t:exit-trap-1 pass ./check.t:test-stlt-1 pass ./check.t:test-precedence-1 pass ./check.t:test-option-1 pass ./check.t:mkshrc-1 pass ./check.t:mkshrc-2a pass ./check.t:mkshrc-2b pass ./check.t:mkshrc-3 pass ./check.t:sh-mode-1 pass ./check.t:sh-mode-2a pass ./check.t:pipeline-1 FAIL ./check.t:pipeline-2 Description: check that co-processes work with TCOMs, TPIPEs and TPARENs unexpected stdout - got too little output wanted: 100 hi 200 hi 300 hi got nothing pass ./check.t:pipeline-3 pass ./check.t:persist-history-1 pass ./check.t:typeset-1 pass ./check.t:typeset-padding-1 pass ./check.t:typeset-padding-2 FAIL ./check.t:utf8bom-1 Description: Check that the UTF-8 Byte Order Mark is ignored as the first multibyte character of the shell input (with -c, from standard input, as file, or as eval argument), but nowhere else unexpected stdout - first difference: line 24, char 3 (wanted 'M-@', got '?' wanted: got 4 files ohne = ohne ohne mit ohne = ohne ohne mit ohne = ohne ohne mit ohne = ohne ohne mit ohne = : ohne got: got 4 files ohne = ohne ohne mit ohne = ohne ohne mit ohne = ohne ohne mit ohne = ohne ohne mit ohne = � ohne FAIL ./check.t:utf8bom-3 Description: Reading the UTF-8 BOM should enable the utf8-mode flag (temporarily for COMSUBs) unexpected stdout - first difference: line 2, char 4 (wanted 'n', got 'f' wanted: 1 off 2 on 3 off 4 on 5 off got: 1 off 2 off 3 off 4 off 5 off unexpected stderr - got too much output wanted nothing got: /home/ITEDN32A/wctam/mksh/mksh: �: not found /home/ITEDN32A/wctam/mksh/mksh: �: not found pass ./check.t:utf8opt-1a pass ./check.t:utf8opt-2a pass ./check.t:utf8opt-3a pass ./check.t:utf8opt-3b pass ./check.t:aliases-1-hartz4 pass ./check.t:aliases-2b-hartz4 pass ./check.t:aliases-3b-hartz4 pass ./check.t:aliases-funcdef-1 pass ./check.t:aliases-funcdef-2 pass ./check.t:aliases-funcdef-3 pass ./check.t:aliases-funcdef-4 pass ./check.t:arrays-1 pass ./check.t:arrays-2a pass ./check.t:arrays-2b pass ./check.t:arrays-3 pass ./check.t:arrays-4 pass ./check.t:arrays-5 pass ./check.t:arrays-6 pass ./check.t:arrays-7 pass ./check.t:arrays-8 pass ./check.t:arrays-9a pass ./check.t:arrays-9b pass ./check.t:arrassign-basic pass ./check.t:arrassign-fnc-none pass ./check.t:arrassign-fnc-local pass ./check.t:arrassign-fnc-global pass ./check.t:strassign-fnc-none pass ./check.t:strassign-fnc-local pass ./check.t:strassign-fnc-global pass ./check.t:varexpand-substr-1 pass ./check.t:varexpand-substr-2 pass ./check.t:varexpand-substr-3 pass ./check.t:varexpand-substr-4 pass ./check.t:varexpand-substr-5A pass ./check.t:varexpand-substr-5W pass ./check.t:varexpand-substr-6 pass ./check.t:varexpand-special-hash pass ./check.t:varexpand-null-1 pass ./check.t:varexpand-null-2 pass ./check.t:print-funny-chars pass ./check.t:print-bksl-c pass ./check.t:print-nul-chars pass ./check.t:print-escapes pass ./check.t:dollar-doublequoted-strings FAIL ./check.t:dollar-quoted-strings Description: Check backslash expansion by $'…' strings unexpected stdout - first difference: line 7, char 46 (wanted 'E', got '3' wanted: 00000000 20 21 22 23 24 25 26 27 - 28 29 2A 2B 2C 2D 2E 2F | !"#$%&'()*+,-./| 00000010 20 01 02 03 04 05 06 0A - 61 0A 61 01 62 0A 07 38 | .......a.a.b..8| 00000020 39 3A 3B 3C 3D 3E 3F 40 - 41 42 43 44 1B 46 47 48 |9:;<=>?@ABCD.FGH| 00000030 49 0A 4A 4B 4C 4D 4E 4F - 50 51 52 53 54 01 56 57 |I.JKLMNOPQRST.VW| 00000040 58 59 5A 5B 5C 5D 5E 5F - 60 07 08 64 1B 0A 0C 67 |XYZ[\]^_`..d...g| 00000050 68 69 6A 6B 6C 6D 0A 6F - 70 71 0D 73 09 01 0B 77 |hijklm.opq.s...w| 00000060 01 79 7A 7B 7C 7D 7E 20 - 24 78 0A E2 82 AC 64 0A |.yz{|}~ $x....d.| 00000070 EF BF BD 0A C4 A3 0A 66 - 6E 0A 13 34 0A 9C 0A 9C |.......fn..4....| 00000080 35 0A 01 0A 01 0A 7F 0A - 02 82 AC 0A 61 0A 62 0A |5...........a.b.| got: 00000000 20 21 22 23 24 25 26 27 - 28 29 2A 2B 2C 2D 2E 2F | !"#$%&'()*+,-./| 00000010 20 01 02 03 04 05 06 0A - 61 0A 61 01 62 0A 07 38 | .......a.a.b..8| 00000020 39 3A 3B 3C 3D 3E 3F 40 - 41 42 43 44 1B 46 47 48 |9:;<=>?@ABCD.FGH| 00000030 49 0A 4A 4B 4C 4D 4E 4F - 50 51 52 53 54 01 56 57 |I.JKLMNOPQRST.VW| 00000040 58 59 5A 5B 5C 5D 5E 5F - 60 07 08 64 1B 0A 0C 67 |XYZ[\]^_`..d...g| 00000050 68 69 6A 6B 6C 6D 0A 6F - 70 71 0D 73 09 01 0B 77 |hijklm.opq.s...w| 00000060 01 79 7A 7B 7C 7D 7E 20 - 24 78 0A 3F AC 64 0A EF |.yz{|}~ $x.?.d..| 00000070 BF 3F C4 A3 0A 66 6E 0A - 13 34 0A 3F 3F 0A 01 0A |.?...fn..4.??...| 00000080 01 0A 7F 0A 02 82 AC 0A - 61 0A 62 0A |........a.b.| pass ./check.t:dollar-quotes-in-heredocs pass ./check.t:dollar-quotes-in-herestrings pass ./check.t:dot-needs-argument pass ./check.t:alias-function-no-conflict pass ./check.t:bash-function-parens pass ./check.t:integer-base-one-1 pass ./check.t:integer-base-one-2a pass ./check.t:integer-base-one-2b pass ./check.t:integer-base-one-2c1 pass ./check.t:integer-base-one-2c2 pass ./check.t:integer-base-one-2d1 pass ./check.t:integer-base-one-2d2 pass ./check.t:integer-base-one-2d3 pass ./check.t:integer-base-one-2d4 pass ./check.t:integer-base-one-2d5 pass ./check.t:integer-base-one-2d6 pass ./check.t:integer-base-one-3As pass ./check.t:integer-base-one-3Ws pass ./check.t:integer-base-one-3Ar pass ./check.t:integer-base-one-3Wr pass ./check.t:integer-base-one-4 pass ./check.t:integer-base-one-5A pass ./check.t:integer-base-one-5W pass ./check.t:ulimit-1 pass ./check.t:bashiop-1 pass ./check.t:bashiop-2a pass ./check.t:bashiop-2b pass ./check.t:bashiop-2c pass ./check.t:bashiop-3a pass ./check.t:bashiop-3b pass ./check.t:bashiop-4 pass ./check.t:mkshiop-1 pass ./check.t:mkshiop-2 pass ./check.t:oksh-shcrash pass ./check.t:oksh-varfunction-mod1 pass ./check.t:fd-cloexec-1 pass ./check.t:fd-cloexec-2 pass ./check.t:comsub-1a pass ./check.t:comsub-1b pass ./check.t:comsub-2 pass ./check.t:comsub-3 pass ./check.t:comsub-4 pass ./check.t:comsub-5 pass ./check.t:comsub-torture pass ./check.t:comsub-torture-io pass ./check.t:test-stnze-1 pass ./check.t:test-stnze-2 pass ./check.t:event-subst-3 pass ./check.t:event-subst-0 pass ./check.t:nounset-1 pass ./check.t:nameref-1 pass ./check.t:nameref-2da pass ./check.t:nameref-3 pass ./check.t:nameref-4 pass ./check.t:better-parens-1a pass ./check.t:better-parens-1b pass ./check.t:better-parens-1c pass ./check.t:better-parens-2a pass ./check.t:better-parens-2b pass ./check.t:better-parens-2c pass ./check.t:better-parens-3a pass ./check.t:better-parens-3b pass ./check.t:better-parens-3c pass ./check.t:better-parens-4a pass ./check.t:better-parens-4b pass ./check.t:better-parens-4c pass ./check.t:echo-test-1 pass ./check.t:echo-test-2 pass ./check.t:utilities-getopts-1 pass ./check.t:utilities-getopts-2 pass ./check.t:wcswidth-1 pass ./check.t:wcswidth-2 pass ./check.t:wcswidth-3 pass ./check.t:wcswidth-4a pass ./check.t:wcswidth-4b pass ./check.t:wcswidth-4c pass ./check.t:debian-117-1 pass ./check.t:debian-117-2 pass ./check.t:debian-117-3 pass ./check.t:debian-117-4 pass ./check.t:case-zsh Total failed: 7 (1 ignored) (6 unexpected) Total passed: 414