Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[fix] More fixes for osh_eval filename
  • Loading branch information
Andy C committed May 15, 2022
1 parent 15e6673 commit e599857
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion benchmarks/id.sh
Expand Up @@ -89,7 +89,7 @@ dump-shell-id() {
osh)
$sh --version > $out_dir/osh-version.txt
;;
osh_eval.opt.stripped)
osh_eval.stripped)
# just rely on the stuff above
;;
dash|mksh)
Expand Down
16 changes: 8 additions & 8 deletions test/parse-errors.sh
Expand Up @@ -78,12 +78,10 @@ _should-parse-here() { _should-parse "$(cat)"; }
_runtime-parse-error() {
### Assert that a parse error happens at runtime

case $SH in
*osh_*.asan)
echo 'skipping _runtime-parse-error'
return
;;
esac
if is-oil-native; then
echo 'skipping _runtime-parse-error'
return
fi

banner "$@"
echo
Expand Down Expand Up @@ -606,8 +604,10 @@ invalid-brace-ranges() {
oil-language() {
set +o errexit

# disabled until we port the parser
case $SH in *osh_*.asan) return ;; esac
if is-oil-native; then
echo 'Skipping oil-language'
return
fi

# Unterminated
_error-case 'var x = 1 + '
Expand Down

0 comments on commit e599857

Please sign in to comment.