Results for ysh-list.test.sh

statusysh
FAIL 12
total12
caseyshdescription
0FAIL shell array :| a 'b c' |
details
1FAIL empty array and simple_word_eval (regression test)
details
2FAIL Empty array and assignment builtin (regression)
details
3FAIL Shell arrays support tilde detection, static globbing, brace detection
details
4FAIL Basic List, a[42] a['42'] allowed
details
5FAIL Mutate List entries, a[42] a['42'] allowed
details
6FAIL string array with command sub, varsub, etc.
details
7FAIL Can print type of List with pp
details
8FAIL splice and stringify array
details
9FAIL List->extend()
details
10FAIL List append()/extend() should return null
details
11FAIL List pop()
details
0 passed, 0 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped
12 failed under osh

Details on runs that didn't PASS

ysh0 shell array :| a 'b c' |

[ysh stdout] Expected "['/', 'a', 'b c', '/']\n", got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh1 empty array and simple_word_eval (regression test)

[ysh stdout] Expected "len=0\n['/', '/']\n", got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh2 Empty array and assignment builtin (regression)

[ysh stdout] Expected 'z=1\n', got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh3 Shell arrays support tilde detection, static globbing, brace detection

[ysh stdout] Expected "['/home/bob/src', 'bar.py', 'foo.py', 'andy@example.com', 'bob@example.com', '*.py']\n" Got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh4 Basic List, a[42] a['42'] allowed

[ysh stdout] Expected 'len=3\n(Str) "2"\n(Str) "3"\n', got ''
[ysh status] Expected 3, got 1
[ysh 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_
ysh5 Mutate List entries, a[42] a['42'] allowed

[ysh stdout] Expected '(List) ["2",1,"4"]\n(List) ["2",1,9]\n(List) ["2",1,99]\n' Got ''
[ysh status] Expected 3, got 1
[ysh 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_
ysh6 string array with command sub, varsub, etc.

[ysh stdout] Expected 'len=4\n1\nhi\nsq\ndq 1\n', got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh7 Can print type of List with pp

[ysh stdout] Expected '(List) ["true"]\n(List) []\n', got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh8 splice and stringify array

[ysh stdout] Expected "['a b', 'c']\n", got ''
[ysh 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_
ysh9 List->extend()

[ysh stdout] Expected '2\n5\n', got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh10 List append()/extend() should return null

[ysh stdout] Expected 'pass\n', got ''
[ysh status] Expected 0, got 1
[ysh 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_
ysh11 List pop()

[ysh stdout] Expected 'pass\n', got ''
[ysh status] Expected 0, got 1
[ysh 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_