Results for builtin-eval-source.test.sh

statusdashbashmkshzshoshosh_ALT
pass 71410101616
ok 323400
N-I 501100
BUG 102100
total161616161616
casedashbashmkshzshoshosh_ALTdescription
0pass pass pass pass pass pass Eval
1pass pass pass pass pass pass Source
2ok pass pass ok pass pass Source nonexistent
detailsdetails
3N-I pass ok ok pass pass Source with no arguments
detailsdetailsdetails
4N-I pass pass pass pass pass Source with arguments
details
5N-I pass pass pass pass pass Source from a function, mutating argv and defining a local var
details
6ok ok ok ok pass pass Source with syntax error
detailsdetailsdetailsdetails
7ok ok ok ok pass pass Eval with syntax error
detailsdetailsdetailsdetails
8BUG pass BUG pass pass pass Eval in does tilde expansion
detailsdetails
9N-I pass BUG BUG pass pass Eval in bash does tilde expansion in array
detailsdetailsdetails
10N-I pass N-I N-I pass pass source works for files in current directory (bash only)
detailsdetailsdetails
11pass pass pass pass pass pass source looks in PATH for files
12pass pass pass pass pass pass source finds files in PATH before current dir
13pass pass pass pass pass pass source works for files in subdirectory
14pass pass pass pass pass pass exit within eval (regression)
15pass pass pass pass pass pass exit within source (regression)
73 passed, 12 OK, 7 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash2 Source nonexistent

stdout:
status=127
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: source: not found
zsh2 Source nonexistent

stdout:
status=127
stderr:
source: no such file or directory: /nonexistent/path
dash3 Source with no arguments

stdout:
status=127
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: source: not found
mksh3 Source with no arguments

stdout:
status=1
stderr:
/bin/mksh: <stdin>[1]: source: missing argument
zsh3 Source with no arguments

stdout:
status=1
stderr:
source: not enough arguments
dash4 Source with arguments

stdout:
show-argv:
stderr:
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:
dash6 Source with syntax error

stdout:
stderr: 
/home/andy/git/oilshell/oil/_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:
/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'
dash7 Eval with syntax error

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

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

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

stdout:
status=1
stderr:
zsh: parse error near `>'
dash8 Eval in does tilde expansion

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

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

stdout:
stderr: 
/home/andy/git/oilshell/oil/_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:
dash10 source works for files in current directory (bash only)

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: .: cmd: not found
mksh10 source works for files in current directory (bash only)

stdout:
stderr: 
/bin/mksh: <stdin>[3]: .: cmd: No such file or directory
zsh10 source works for files in current directory (bash only)

stdout:
status=127
stderr:
.: no such file or directory: cmd