Results for var-sub.test.sh

casedashbashmkshoshosh_ALTosh-byterundescription
0pass ok ok pass pass FAIL Bad var sub
detailsdetailsdetails
1pass pass pass pass pass FAIL Braced block inside ${}
details
2pass pass pass pass pass FAIL Nested ${}
details
3ok pass pass pass pass pass Filename redirect with "$@"
details
4pass ok pass pass pass FAIL Filename redirect with split word
detailsdetails
5ok pass pass pass pass pass Descriptor redirect to bad "$@"
details
6pass pass ok pass pass FAIL Here doc with bad "$@" delimiter
detailsdetails

31 passed, 6 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

bash0 Bad var sub

stdout:
stderr: 
_tmp/spec-bin/bash: line 1: ${a|}: bad substitution
mksh0 Bad var sub

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[1]: ${a|}: bad substitution
osh-byterun0 Bad var sub

[osh-byterun status] Expected 2, 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 Braced block inside ${}

[osh-byterun stdout] Expected '/bin/ls\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-byterun2 Nested ${}

[osh-byterun stdout] Expected 'ZZ\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 Filename redirect with "$@"

stdout:
stderr: 
_tmp/spec-bin/dash: 2: cannot create _tmp/var-sub1 _tmp/var-sub2: Directory nonexistent
bash4 Filename redirect with split word

stdout:
stderr: 
_tmp/spec-bin/bash: line 3: $foo: ambiguous redirect
osh-byterun4 Filename redirect with split word

[osh-byterun stdout] Expected 'hi\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 Descriptor redirect to bad "$@"

stdout:
stderr: 
_tmp/spec-bin/dash: 3: Syntax error: Bad fd number
mksh6 Here doc with bad "$@" delimiter

stdout:
stderr: 
_tmp/spec-bin/mksh: <stdin>[7]: here document '$@' unclosed
osh-byterun6 Here doc with bad "$@" delimiter

[osh-byterun status] Expected 2, 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