Results for builtin-eval-source.test.sh

casedashbashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass FAIL Eval
details
1pass pass pass pass pass pass FAIL Source
details
2ok pass pass ok pass pass FAIL Source nonexistent
detailsdetailsdetails
3ok ok pass pass pass pass FAIL Source with no arguments
detailsdetailsdetails
4N-I pass pass pass pass pass FAIL Source with arguments
detailsdetails
5N-I pass pass pass pass pass FAIL Source from a function, mutating argv and defining a local var
detailsdetails
6ok ok ok ok pass pass FAIL Source with syntax error
detailsdetailsdetailsdetailsdetails
7ok ok ok ok pass pass FAIL Eval with syntax error
detailsdetailsdetailsdetailsdetails
8BUG pass BUG pass pass pass FAIL Eval in does tilde expansion
detailsdetailsdetails
9N-I pass BUG BUG pass pass FAIL Eval in bash does tilde expansion in array
detailsdetailsdetailsdetails

41 passed, 12 ok, 3 known unimplemented, 4 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

osh-byterun0 Eval

[osh-byterun stdout] Expected '3\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
osh-byterun1 Source

[osh-byterun stdout] Expected 'libvar\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash2 Source nonexistent

stdout:
status=127
stderr:
_tmp/spec-bin/dash: 1: source: not found
zsh2 Source nonexistent

stdout:
status=127
stderr:
source: no such file or directory: /nonexistent/path
osh-byterun2 Source nonexistent

[osh-byterun stdout] Expected 'status=1\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash3 Source with no arguments

stdout:
status=127
stderr:
_tmp/spec-bin/dash: 1: source: not found
bash3 Source with no arguments

stdout:
status=2
stderr:
_tmp/spec-bin/bash: line 1: source: filename argument required
source: usage: source filename [arguments]
osh-byterun3 Source with no arguments

[osh-byterun stdout] Expected 'status=1\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash4 Source with arguments

stdout:
show-argv:
stderr:
osh-byterun4 Source with arguments

[osh-byterun stdout] Expected 'show-argv: foo bar\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash5 Source from a function, mutating argv and defining a local var

stdout:
source-argv: args to func
source-argv: to func
func
foo=foo_val
foo=
stderr:
osh-byterun5 Source from a function, mutating argv and defining a local var

[osh-byterun stdout] Expected 'source-argv: args to func\nsource-argv: args to src\nto func\nfoo=foo_val\nfoo=\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash6 Source with syntax error

stdout:
stderr: 
_tmp/spec-bin/dash: 2: /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh: Syntax error: newline unexpected
bash6 Source with syntax error

stdout:
status=1
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh: line 1: syntax error near unexpected token `newline'
/home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh: line 1: `echo >'
mksh6 Source with syntax error

stdout:
status=1
stderr:
_tmp/spec-bin/mksh: /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh[1]: syntax error: 'newline' unexpected
zsh6 Source with syntax error

stdout:
status=126
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-eval-source.test.sh/syntax-error.sh:2: parse error near `\n'
osh-byterun6 Source with syntax error

[osh-byterun stdout] Expected 'status=2\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash7 Eval with syntax error

stdout:
stderr: 
_tmp/spec-bin/dash: 1: eval: Syntax error: end of file unexpected
bash7 Eval with syntax error

stdout:
status=1
stderr:
_tmp/spec-bin/bash: eval: line 1: syntax error near unexpected token `newline'
_tmp/spec-bin/bash: eval: line 1: `echo >'
mksh7 Eval with syntax error

stdout:
stderr: 
_tmp/spec-bin/mksh: syntax error: 'newline' unexpected
zsh7 Eval with syntax error

stdout:
status=1
stderr:
zsh: parse error near `>'
osh-byterun7 Eval with syntax error

[osh-byterun stdout] Expected 'status=2\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash8 Eval in does tilde expansion

stdout:
FALSE
stderr:
_tmp/spec-bin/dash: 4: [[: not found
_tmp/spec-bin/dash: 5: [[: not found
mksh8 Eval in does tilde expansion

stdout:
FALSE
stderr:
osh-byterun8 Eval in does tilde expansion

[osh-byterun stdout] Expected 'FALSE\nFALSE\nTRUE\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend
dash9 Eval in bash does tilde expansion in array

stdout:
stderr: 
_tmp/spec-bin/dash: 1: eval: Syntax error: "(" unexpected
mksh9 Eval in bash does tilde expansion in array

stdout:
FALSE
stderr:
zsh9 Eval in bash does tilde expansion in array

stdout:
FALSE
FALSE
stderr:
osh-byterun9 Eval in bash does tilde expansion in array

[osh-byterun stdout] Expected 'FALSE\nFALSE\nTRUE\n', got ''
[osh-byterun status] Expected 0, got 1

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module>
    from frontend import args
ImportError: No module named frontend