run-file () { local spec_name=$1; shift; local spec_file=spec/$spec_name.test.sh; local suite; suite=$(test/sh_spec.py --print-spec-suite $spec_file); local spec_subdir; case $suite in osh) spec_subdir='osh-cpp' ;; ysh) spec_subdir='ysh-cpp' ;; *) die "Invalid suite $suite" ;; esac; local base_dir=_tmp/spec/$spec_subdir; mkdir -v -p $base_dir; sh-spec $spec_file --timeout 10 --oils-bin-dir $PWD/bin --oils-cpp-bin-dir $REPO_ROOT/_bin/cxx-asan --tsv-output $base_dir/${spec_name}.tsv "$@" }
spec test index / oilshell.org
36 passed, 4 OK, 4 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c) [osh stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got "['foo']\n['foo']\n" stdout: ['foo'] ['foo']stderr: |
osh-cpp | 12 Escaping of pipe (glibc bug, see demo/glibc_fnmatch.c) [osh-cpp stdout] Expected "['__|', 'foo']\n['__|', 'foo']\n", got "['foo']\n['foo']\n" stdout: ['foo'] ['foo']stderr: |
osh | 13 Extended glob as argument to ${undef:-} (dynamic globbing) stdout: bar.py foo.py spam.pystderr: echo ${undef:-@(foo|bar).py} ^~ [ stdin ]:9: fatal: Extended glob not allowed in this word |
osh-cpp | 13 Extended glob as argument to ${undef:-} (dynamic globbing) stdout: bar.py foo.py spam.pystderr: echo ${undef:-@(foo|bar).py} ^~ [ stdin ]:9: fatal: Extended glob not allowed in this word |
osh | 14 Extended glob in assignment builtin stdout: stderr: typeset -@(*.py) myvar ^ [ stdin ]:5: fatal: Extended glob not allowed in this word |
osh-cpp | 14 Extended glob in assignment builtin stdout: stderr: typeset -@(*.py) myvar ^ [ stdin ]:5: fatal: Extended glob not allowed in this word |
osh | 15 Extended glob in same word as array stdout: ['a b', 'c'] ['star', 'glob', 'a b c.py'] ['star', 'extglob', 'a b c.cc', 'a b c.py']stderr: argv.py at extglob "$@"*@(.py|cc) ^ [ stdin ]:13: fatal: Extended globs and arrays can't appear in the same word |
osh-cpp | 15 Extended glob in same word as array stdout: ['a b', 'c'] ['star', 'glob', 'a b c.py'] ['star', 'extglob', 'a b c.cc', 'a b c.py']stderr: argv.py at extglob "$@"*@(.py|cc) ^ [ stdin ]:13: fatal: Extended globs and arrays can't appear in the same word |
osh | 16 Extended glob with word splitting stdout: ['a b*.@(cc|h)']stderr: |
osh-cpp | 16 Extended glob with word splitting stdout: ['a b*.@(cc|h)']stderr: |