spec test index / oilshell.org
102 passed, 9 OK, 0 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh_.cc | 0 Export sets a global variable [osh_.cc stdout] Expected 'X\nX\n', got 'X\nNone\n' stdout: X Nonestderr: |
osh_.cc | 1 Export sets a global variable that persists after export -n [osh_.cc stdout] Expected 'X\nX\nX\nNone\n', got 'X\nNone\nX\nNone\n' stdout: X None X Nonestderr: |
osh_.cc | 4 Export a global variable and unset it [osh_.cc stdout] Expected 'X\nX\ng=\nNone\n', got 'X\nNone\ng=\nNone\n' stdout: X None g= Nonestderr: |
osh_.cc | 5 Export existing global variables [osh_.cc stdout] Expected 'g1\ng2\n', got 'None\nNone\n' stdout: None Nonestderr: |
osh_.cc | 6 Export existing local variable [osh_.cc stdout] Expected 'local1\nNone\n', got 'None\nNone\n' stdout: None Nonestderr: |
osh_.cc | 7 Export a local that shadows a global [osh_.cc stdout] Expected 'local1\nNone\nglobal\n', got 'None\nNone\nNone\n' stdout: None None Nonestderr: |
osh_.cc | 8 Export a variable before defining it [osh_.cc stdout] Expected 'u\n', got 'None\n' stdout: Nonestderr: |
osh_.cc | 9 Unset exported variable, then define it again. It's NOT still exported. [osh_.cc stdout] Expected 'u\nNone\nnewvalue\nNone\n', got 'None\nNone\nnewvalue\nNone\n' stdout: None None newvalue Nonestderr: |
osh_.cc | 10 Exporting a parent func variable (dynamic scope) [osh_.cc stdout] Expected 'before inner\nNone\ninner: X\nX\nafter inner\nX\n', got 'before inner\nNone\ninner: X\nNone\nafter inner\nNone\n' stdout: before inner None inner: X None after inner Nonestderr: |
osh | 13 can't export array stdout: stderr: export a ^~~~~~ [ stdin ]:3: fatal: Only strings can be exported |
osh_.py | 13 can't export array stdout: stderr: export a ^~~~~~ [ stdin ]:3: fatal: Only strings can be exported |
osh_.cc | 13 can't export array stdout: stderr: export a ^~~~~~ [ stdin ]:3: fatal: Only strings can be exported |
osh | 14 can't export associative array stdout: stderr: export a ^~~~~~ [ stdin ]:3: fatal: Only strings can be exported |
osh_.py | 14 can't export associative array stdout: stderr: export a ^~~~~~ [ stdin ]:3: fatal: Only strings can be exported |
osh_.cc | 14 can't export associative array stdout: stderr: export a ^~~~~~ [ stdin ]:3: fatal: Only strings can be exported |
osh | 32 Unset wrong type stdout: undef 1 undef 1 array 0 array 0 assoc 0 assoc 0stderr: unset -v 'undef[1]' ^ [ stdin ]:6: 'undef' isn't an array unset -v 'undef["key"]' ^ [ stdin ]:8: 'undef' isn't an array |
osh_.py | 32 Unset wrong type stdout: undef 1 undef 1 array 0 array 0 assoc 0 assoc 0stderr: unset -v 'undef[1]' ^ [ stdin ]:6: 'undef' isn't an array unset -v 'undef["key"]' ^ [ stdin ]:8: 'undef' isn't an array |
osh_.cc | 32 Unset wrong type stdout: undef 1 undef 1 array 0 array 0 assoc 0 assoc 0stderr: unset -v 'undef[1]' ^ [ stdin ]:6: 'undef' isn't an array unset -v 'undef["key"]' ^ [ stdin ]:8: 'undef' isn't an array |
osh | 38 local after readonly [osh stdout] Expected u'', got 'y=0\ny=\n' [osh status] Expected 1, got 0 stdout: y=0 y=stderr: |
osh_.py | 38 local after readonly [osh_.py stdout] Expected u'', got 'y=0\ny=\n' [osh_.py status] Expected 1, got 0 stdout: y=0 y=stderr: |
osh_.cc | 38 local after readonly [osh_.cc stdout] Expected u'', got 'y=0\ny=\n' [osh_.cc status] Expected 1, got 0 stdout: y=0 y=stderr: |