gash/tests
Timothy Sample ffe9fc1f47 Handle 'break' and 'continue' errors.
* gash/built-ins/utils.scm (string->positive-integer): New function.
* gash/built-ins/break.scm (main): Use it to simplify argument
checking; check for too many arguments; and print messages on errors.
* gash/built-ins/continue.scm (main): Ditto.
* gash/shell.scm (sh:exec-let): Throw an error if a special built-in
fails.
* tests/spec/oil.scm: Enable and adjust previously failing tests.
2019-06-14 20:46:57 -04:00
..
bootstrap Add missing copyright headers. 2019-05-20 18:07:47 -04:00
data Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
spec Handle 'break' and 'continue' errors. 2019-06-14 20:46:57 -04:00
unit Remove extra '<sh-begin>' wrappers. 2019-05-26 20:37:53 -04:00
arguments.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
assignments.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
command-substitution.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
compound-words.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
conditionals.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
dot.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
eval.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
exiting.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
exporting.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
functions.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
loops.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
pipes-and-booleans.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
redirects.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
run-test-suite.in Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
signals.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
variable-and.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
variable-or.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
variable-patterns.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
variable-words.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00
words.org Aggregate tests into test suites. 2019-06-14 20:27:33 -04:00