Results for ysh-builtin-shopt.test.sh

statusosh
FAIL 9
total9
caseoshdescription
0FAIL shopt supports long flags
details
1FAIL shopt supports 'set' options
details
2FAIL shopt --unset errexit { }
details
3FAIL shopt -p works correctly inside block
details
4FAIL shopt --set GROUP { }
details
5FAIL shopt and block status
details
6FAIL shopt usage error
details
7FAIL shopt -p
details
8FAIL TODO: all options as a table
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped
9 failed under osh

Details on runs that didn't PASS

osh0 shopt supports long flags

[osh stdout] Expected 'shopt -u nullglob\nshopt -s nullglob\nshopt -u nullglob\n---\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh1 shopt supports 'set' options

[osh stdout] Expected 'shopt -u errexit\n', got ''
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh2 shopt --unset errexit { }

[osh stdout] Expected 'one\ntwo\nthree\n', got ''
[osh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh3 shopt -p works correctly inside block

[osh stdout] Expected 'shopt -u inherit_errexit\nshopt -s inherit_errexit\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh4 shopt --set GROUP { }

[osh stdout] Expected 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -u strict_errexit\nshopt -s verbose_errexit\n---\nshopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -s strict_errexit\nshopt -u verbose_errexit\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh5 shopt and block status

[osh stdout] Expected 'status=0\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh6 shopt usage error

[osh stdout] Expected 'one\n', got ''
[osh status] Expected 2, 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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh7 shopt -p

[osh stdout] Expected 'shopt -u errexit\nshopt -u nullglob\n--\nshopt -u strict_argv\nshopt -u strict_arith\nshopt -u strict_array\n--\nshopt -s strict_argv\nshopt -s strict_arith\nshopt -s strict_array\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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_
osh8 TODO: all options as a table

[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 20, in <module>
    import posix_ as posix
ImportError: No module named posix_