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
50 passed, 6 OK, 2 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh | 2 extglob in variable stdout: stderr: g=--@(help|verbose) ^~ [ stdin ]:3: fatal: extended glob not allowed in this word |
osh-cpp | 2 extglob in variable stdout: stderr: g=--@(help|verbose) ^~ [ stdin ]:3: fatal: extended glob not allowed in this word |
osh | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: stderr: [[ !($empty) ]] && echo TRUE # test if $empty is empty ^~ [ stdin ]:3: fatal: extended glob not allowed in this word |
osh-cpp | 21 Turning extglob on changes the meaning of [[ !(str) ]] in bash stdout: stderr: [[ !($empty) ]] && echo TRUE # test if $empty is empty ^~ [ stdin ]:3: fatal: extended glob not allowed in this word |
osh | 23 extglob inside arg word stdout: TRUEstderr: [[ foo == ${unset:-@(foo|bar)} ]] && echo TRUE ^~ [ stdin ]:3: fatal: Extended glob not allowed in this word |
osh-cpp | 23 extglob inside arg word stdout: TRUEstderr: [[ foo == ${unset:-@(foo|bar)} ]] && echo TRUE ^~ [ stdin ]:3: fatal: Extended glob not allowed in this word |
osh | 27 Extended glob in ${x//pat/replace} stdout: stderr: echo ${x//@(?.py)/Z} ^~ [ stdin ]:3: fatal: extended globs not supported in ${x//GLOB/} |
osh-cpp | 27 Extended glob in ${x//pat/replace} stdout: stderr: echo ${x//@(?.py)/Z} ^~ [ stdin ]:3: fatal: extended globs not supported in ${x//GLOB/} |