Results for builtin-eval-source.test.sh

casedashbashmkshzshoshosh_ALTosh-byterundescription
0pass pass pass pass pass pass pass Eval
1pass pass pass pass pass pass pass Source
2ok pass pass ok pass pass pass Source nonexistent
detailsdetails
3ok ok pass pass pass pass pass Source with no arguments
detailsdetails
4N-I pass pass pass pass pass pass Source with arguments
details
5N-I pass pass pass pass pass pass Source from a function, mutating argv and defining a local var
details

36 passed, 4 ok, 2 known unimplemented, 0 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

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
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]
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: