spec test index / oilshell.org
134 passed, 1 OK, 2 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
dash | 23 IFS empty doesn't do splitting stdout: ['-e a b\tc']stderr: |
dash | 24 IFS unset behaves like $' \t\n' stdout: ['-e', 'a', 'b', 'c']stderr: |
osh | 25 IFS='\' [osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh | 26 IFS='\ ' [osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
dash | 33 IFS and joining arrays by assignments stdout: ['x:y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 7: sx:y z: not found |
osh | 33 IFS and joining arrays by assignments [osh stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: s"$*" ^ [ stdin ]:7: 'sx:y z' not found |