Hi Thorsten,
The 'lstat' issue is fixed now and with this fix, only 3 tests fail on mksh all of which are ignored as below.
......
pass ./check.t:history-subst-4
pass ./check.t:history-subst-5
FAIL ./check.t:history-ed-1 (ignored)
Description:
Basic (ed) editing works (assumes you have generic ed editor
that prints no prompts). This is for newish ed(1) and stderr.
unexpected exit status 32512 (exit-code 127), expected 0
unexpected stdout - got too little output
wanted:
abc def
FOOBAR def
got:
abc def
unexpected stderr - wanted pattern:
/^X*13\n16\necho FOOBAR def\nX*$/
got:
XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: /bin/ed: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[3]: s/abc/FOOBAR/: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[4]: w: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[5]: q: not found
X
[incomplete last line]
FAIL ./check.t:history-ed-2 (ignored)
Description:
Correct command is edited when number given
unexpected exit status 32512 (exit-code 127), expected 0
unexpected stdout - got too little output
wanted:
line 1
line 2 is here
line 3
line 4
line 2 is changed
got:
line 1
line 2 is here
line 3
line 4
unexpected stderr - wanted pattern:
/^X*20\n23\necho line 2 is changed\nX*$/
got:
XXXXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: /bin/ed: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[6]: s/is: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[7]: w: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[8]: q: not found
X
[incomplete last line]
FAIL ./check.t:history-ed-3 (ignored)
Description:
Newly created multi line commands show up as single command
in history.
unexpected stdout - first difference: line 2, char 1 (wanted 'F', got 'a'
wanted:
abc def
FOOBAR def
a new line
1 echo abc def
2 echo FOOBAR def
3 echo a new line
got:
abc def
a new line
1 echo abc def
2 fc echo
3 s/abc/FOOBAR/
4 $a
5 echo a new line
6 .
7 w
8 q
unexpected stderr - wanted pattern:
/^X*13\n32\necho FOOBAR def\necho a new line\nX*$/
got:
XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: /bin/ed: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[3]: s/abc/FOOBAR/: not found
XXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[6]: .: missing argument
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[7]: w: not found
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: <stdin>[8]: q: not found
XX
[incomplete last line]
pass ./check.t:IFS-space-1
. . .
pass ./check.t:debian-117-4
pass ./check.t:case-zsh
pass ./check.t:case-braces
pass ./check.t:command-shift
pass ./check.t:duffs-device
Total failed: 3 (3 ignored)
Total passed: 433
Thanks and Regards,
Anil