37 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| osh | 9 Str->search() method returns value.Match object [osh stdout] Expected 'g0 2 6 Hi5-\ng1 2 4 Hi\ng2 4 5 5\n---\ng0 7 12 Bye6-\ng1 7 10 Bye\ng2 10 11 6\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo "g0 $[m.start(0)] $[m.end(0)] $[m.group(0)]"
^
[ stdin ]:4: Unexpected token while parsing arithmetic: '.'
|
| osh | 11 search() and leftMatch() accept ERE string [osh stdout] Expected 'g0 2 6 hi5-\ng1 2 4 hi\ng2 4 5 5\n---\ng0 0 4 hi5-\ng1 0 2 hi\ng2 2 3 5\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: echo "g0 $[m.start(0)] $[m.end(0)] $[m.group(0)]"
^
[ stdin ]:4: Unexpected token while parsing arithmetic: '.'
|
| osh | 32 Str.replace(Str, Str), empty new/old strings [osh stdout] Expected 'a\nnewanewbnewcnewanew\nnewabca\nnewanewbnewcnewanew\n' Got '' [osh status] Expected 0 Got 2 stdout: stderr: write $[mystr.replace('abc', '')] # Empty substitution
^
[ stdin ]:2: Unexpected token while parsing arithmetic: '.'
|