Permalink
Browse files

Noticed a bug: set -o strict-arith somehow got disabled.

This makes a spec test pass!
  • Loading branch information...
Andy Chu
Andy Chu committed Aug 17, 2018
1 parent 0f719de commit c08e45d15ad388c74b78c6a12bc324c20e4dfc6c
Showing with 2 additions and 1 deletion.
  1. +1 −0 core/state.py
  2. +1 −1 test/spec.sh
View
@@ -86,6 +86,7 @@ def Disable(self):
(None, 'strict-control-flow'),
(None, 'strict-errexit'),
(None, 'strict-array'),
(None, 'strict-arith'),
(None, 'vi'),
(None, 'emacs'),
View
@@ -381,7 +381,7 @@ glob() {
}
arith() {
sh-spec spec/arith.test.sh --osh-failures-allowed 3 \
sh-spec spec/arith.test.sh --osh-failures-allowed 2 \
${REF_SHELLS[@]} $ZSH $OSH "$@"
}

0 comments on commit c08e45d

Please sign in to comment.