109 passed, 25 OK, 21 not implemented, 12 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
| dash | 2 Turn an array into an integer. stdout: stderr: dash: 1: Syntax error: "(" unexpected
|
| ash | 2 Turn an array into an integer. stdout: stderr: ash: syntax error: unexpected "("
|
| dash | 3 assign readonly -- one line stdout: stderr: dash: 1: x: is read only |
| mksh | 3 assign readonly -- one line stdout: stderr: mksh: <stdin>[1]: read-only: x |
| ash | 3 assign readonly -- one line stdout: stderr: ash: x: is read only |
| bash | 4 assign readonly -- multiple lines stdout: histderr: bash: line 2: x: readonly variable |
| dash | 4 assign readonly -- multiple lines stdout: stderr: dash: 2: x: is read only |
| mksh | 4 assign readonly -- multiple lines stdout: stderr: mksh: <stdin>[2]: read-only: x |
| ash | 4 assign readonly -- multiple lines stdout: stderr: ash: x: is read only |
| dash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: dash: 1: set: Illegal option -o posix |
| mksh | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: mksh: <stdin>[3]: read-only: x |
| ash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: ash: set: line 1: illegal option -o posix ash: x: is read only |
| dash | 6 unset readonly -- one line stdout: stderr: dash: 1: unset: x: is read only |
| zsh | 6 unset readonly -- one line stdout: stderr: zsh: read-only variable: x |
| ash | 6 unset readonly -- one line stdout: stderr: ash: unset: line 1: x: is read only |
| dash | 7 unset readonly -- multiple lines stdout: stderr: dash: 2: unset: x: is read only |
| zsh | 7 unset readonly -- multiple lines stdout: stderr: zsh: read-only variable: x |
| ash | 7 unset readonly -- multiple lines stdout: stderr: ash: unset: line 2: x: is read only |
| mksh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: mksh: <stdin>[1]: syntax error: '"z"' unexpected |
| zsh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: zsh: unknown file attribute: z |
| mksh | 9 Function names stdout: stderr: mksh: <stdin>[1]: foo$x: invalid function name |
| zsh | 9 Function names stdout: stderr: |
| bash | 10 file with NUL byte stdout: stderr: tmp.sh: tmp.sh: cannot execute binary file |
| dash | 10 file with NUL byte stdout: stderr: tmp.sh: 1: tmp.sh: -e: not found |
| zsh | 10 file with NUL byte stdout: one echo twostderr: |
| osh | 10 file with NUL byte stdout: onestderr: |
| bash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: |
| dash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: dash: 4: Bad substitution |
| zsh | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: zsh: bad substitution |
| ash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: ash: syntax error: bad substitution |
| mksh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: |
| zsh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: |
| dash | 15 for loop (issue #1446) stdout: stderr: |
| mksh | 15 for loop (issue #1446) stdout: stderr: |
| ash | 15 for loop (issue #1446) stdout: stderr: |
| dash | 16 for loop 2 (issue #1446) stdout: stderr: |
| mksh | 16 for loop 2 (issue #1446) stdout: stderr: |
| ash | 16 for loop 2 (issue #1446) stdout: stderr: |
| osh | 17 autoconf word split (#1449) [osh stdout] Expected '--- $()\n[-n]\n[my sed command]\n[f1]\n[f2]\n--- backticks\n[-n]\n[my sed command]\n[f1]\n[f2]\nNOT SPLIT\n' Got '' [osh status] Expected 0 Got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last):
File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
sys.exit(main(sys.argv))
File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
return AppBundleMain(argv)
File "/home/uke/oil/bin/oils_for_unix.py", line 198, in AppBundleMain
bash_compat=(applet == 'bash'))
File "/home/uke/oil/core/shell.py", line 1296, in Main
cmd_flags=cmd_eval.IsMainProgram)
File "/home/uke/oil/core/main_loop.py", line 336, in Batch
was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
node = c_parser.ParseLogicalLine() # can raise ParseError
File "/home/uke/oil/osh/cmd_parse.py", line 2836, in ParseLogicalLine
self._GetWord()
File "/home/uke/oil/osh/cmd_parse.py", line 670, in _GetWord
w = self.w_parser.ReadWord(self.next_lex_mode)
File "/home/uke/oil/osh/word_parse.py", line 2334, in ReadWord
w = self._ReadWord(word_mode)
File "/home/uke/oil/osh/word_parse.py", line 2251, in _ReadWord
return self._ReadCompoundOrRedir(lex_mode)
File "/home/uke/oil/osh/word_parse.py", line 1899, in _ReadCompoundOrRedir
return self._ReadCompoundOrRedir3(lex_mode, Id.Undefined_Tok, True)
File "/home/uke/oil/osh/word_parse.py", line 2004, in _ReadCompoundOrRedir3
part = self._ReadUnquotedLeftParts(is_triple_quoted)
File "/home/uke/oil/osh/word_parse.py", line 962, in _ReadUnquotedLeftParts
return self._ReadCommandSub(self.token_type, d_quoted=False)
File "/home/uke/oil/osh/word_parse.py", line 1234, in _ReadCommandSub
node = c_parser.ParseCommandSub()
File "/home/uke/oil/osh/cmd_parse.py", line 2873, in ParseCommandSub
c_list = self._ParseCommandTerm()
File "/home/uke/oil/osh/cmd_parse.py", line 2760, in _ParseCommandTerm
child = self.ParseAndOr()
File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
return self._ParseAndOr()
File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
child = self.ParsePipeline()
File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
child = self.ParseCommand()
File "/home/uke/oil/osh/cmd_parse.py", line 2554, in ParseCommand
return self.ParseSimpleCommand()
File "/home/uke/oil/osh/cmd_parse.py", line 1222, in ParseSimpleCommand
redirects, words, typed_args, block = self._ScanSimpleCommand()
File "/home/uke/oil/osh/cmd_parse.py", line 904, in _ScanSimpleCommand
self._GetWord()
File "/home/uke/oil/osh/cmd_parse.py", line 670, in _GetWord
w = self.w_parser.ReadWord(self.next_lex_mode)
File "/home/uke/oil/osh/word_parse.py", line 2334, in ReadWord
w = self._ReadWord(word_mode)
File "/home/uke/oil/osh/word_parse.py", line 2251, in _ReadWord
return self._ReadCompoundOrRedir(lex_mode)
File "/home/uke/oil/osh/word_parse.py", line 1899, in _ReadCompoundOrRedir
return self._ReadCompoundOrRedir3(lex_mode, Id.Undefined_Tok, True)
File "/home/uke/oil/osh/word_parse.py", line 2004, in _ReadCompoundOrRedir3
part = self._ReadUnquotedLeftParts(is_triple_quoted)
File "/home/uke/oil/osh/word_parse.py", line 910, in _ReadUnquotedLeftParts
dq_part = self._ReadDoubleQuoted(self.cur_token)
File "/home/uke/oil/osh/word_parse.py", line 1196, in _ReadDoubleQuoted
self._ReadLikeDQ(left_token, False, parts)
File "/home/uke/oil/osh/word_parse.py", line 1107, in _ReadLikeDQ
tok, "\"")
UnboundLocalError: local variable 'tok' referenced before assignment
|
| bash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
| dash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: stderr: dash: 4: Illegal number: a[$(echo 42 | tee PWNED)]=1 |
| mksh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
| zsh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
| ash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: stderr: ash: arithmetic syntax error |
| bash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: NOPEstderr: bash: line 4: <(echo 42 | tee PWNED): syntax error: operand expected (error token is "<(echo 42 | tee PWNED)") |
| dash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: stderr: dash: 4: Illegal number: a[<(echo 42 | tee PWNED)]=1 |
| ash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: stderr: ash: arithmetic syntax error |
| bash | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: |
| dash | 21 unset doesn't allow command execution stdout: stderr: dash: 1: typeset: not found
dash: 2: Syntax error: "(" unexpected
|
| mksh | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: |
| zsh | 21 unset doesn't allow command execution stdout: len=1 len=1 PWNED 0stderr: zsh: a: assignment to invalid subscript range |
| ash | 21 unset doesn't allow command execution stdout: stderr: ash: typeset: not found
ash: syntax error: unexpected "("
|
| dash | 23 (( status bug stdout: stderr: |
| ash | 23 (( status bug stdout: stderr: |
| dash | 25 OSH can use ARGV name stdout: stderr: |
| ash | 25 OSH can use ARGV name stdout: stderr: |
| dash | 27 Crash after changing $[] to be alias of $(( )) stdout: $[i + 1] hellostderr: |
| mksh | 27 Crash after changing $[] to be alias of $(( )) stdout: $[i + 1] hellostderr: |
| ash | 27 Crash after changing $[] to be alias of $(( )) stdout: $[i + 1] hellostderr: |