]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/errors8.sub
bash-5.0 distribution sources and documentation
[thirdparty/bash.git] / tests / errors8.sub
1 # the start of a set of tests for command keeping special builtins from
2 # exiting the shell on failure
3 set -o posix
4 readonly v
5
6 command eval '( ' || echo ok 1
7
8 command export v=foo || echo ok 2
9 command readonly v=foo || echo ok 3
10
11 command shift 12 || echo ok 4
12
13 command return 16 || echo ok 5
14 command set -o notanoption || echo ok 6