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
86 passed, 10 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh | 23 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i ^ [ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real |
osh-cpp | 23 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i ^ [ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real |
osh | 24 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3 ^ [ expansion of alias 'FOR1' ]:1: Invalid word in for loop |
osh-cpp | 24 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3 ^ [ expansion of alias 'FOR1' ]:1: Invalid word in for loop |
osh | 35 alias for left brace stdout: stderr: { echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real |
osh-cpp | 35 alias for left brace stdout: stderr: { echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real |
osh | 36 alias for left paren stdout: stderr: ( echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real |
osh-cpp | 36 alias for left paren stdout: stderr: ( echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real |
osh | 46 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |
osh-cpp | 46 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |