spec test index / oilshell.org
76 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 35 redefine_proc is on in interactive shell [osh stdout] Expected 'common\nredefinition\n', got '' [osh stderr] Expected 'hi\n', got " module 'common' || return 0\n ^~~~~~\n/home/uke/oil/spec/testdata/module/common.ysh:2: 'module' not found (OILS-ERR-100)\n module 'redefinition' || return 0\n ^~~~~~\n/home/uke/oil/spec/testdata/module/redefinition.ysh:1: 'module' not found (OILS-ERR-100)\n log hi\n ^~~\n[ -c flag ]:4: 'log' not found (OILS-ERR-100)\n[ -c flag ]:4: errexit PID 35174: command.Simple failed with status 127\n" [osh status] Expected 0, got 127 stdout: stderr: module 'common' || return 0 ^~~~~~ /home/uke/oil/spec/testdata/module/common.ysh:2: 'module' not found (OILS-ERR-100) module 'redefinition' || return 0 ^~~~~~ /home/uke/oil/spec/testdata/module/redefinition.ysh:1: 'module' not found (OILS-ERR-100) log hi ^~~ [ -c flag ]:4: 'log' not found (OILS-ERR-100) [ -c flag ]:4: errexit PID 35174: command.Simple failed with status 127 |
osh_ALT | 35 redefine_proc is on in interactive shell [osh_ALT stdout] Expected 'common\nredefinition\n', got '' [osh_ALT stderr] Expected 'hi\n', got " module 'common' || return 0\n ^~~~~~\n/home/uke/oil/test/../spec/testdata/module/common.ysh:2: 'module' not found (OILS-ERR-100)\n module 'redefinition' || return 0\n ^~~~~~\n/home/uke/oil/test/../spec/testdata/module/redefinition.ysh:1: 'module' not found (OILS-ERR-100)\n log hi\n ^~~\n[ -c flag ]:4: 'log' not found (OILS-ERR-100)\n[ -c flag ]:4: errexit PID 35178: command.Simple failed with status 127\n" [osh_ALT status] Expected 0, got 127 stdout: stderr: module 'common' || return 0 ^~~~~~ /home/uke/oil/test/../spec/testdata/module/common.ysh:2: 'module' not found (OILS-ERR-100) module 'redefinition' || return 0 ^~~~~~ /home/uke/oil/test/../spec/testdata/module/redefinition.ysh:1: 'module' not found (OILS-ERR-100) log hi ^~~ [ -c flag ]:4: 'log' not found (OILS-ERR-100) [ -c flag ]:4: errexit PID 35178: command.Simple failed with status 127 |
osh | 36 redefine_module is on in interactive shell [osh stdout] Expected 'common\ncommon\nstatus=0\n2 stderr.txt\n', got 'status=127\n10 stderr.txt\n' stdout: status=127 10 stderr.txtstderr: |
osh_ALT | 36 redefine_module is on in interactive shell [osh_ALT stdout] Expected 'common\ncommon\nstatus=0\n2 stderr.txt\n', got 'status=127\n10 stderr.txt\n' stdout: status=127 10 stderr.txtstderr: |