diff options
Diffstat (limited to 'tests/errors.tests')
-rw-r--r-- | tests/errors.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/errors.tests b/tests/errors.tests index 7258ac6b..531b625b 100644 --- a/tests/errors.tests +++ b/tests/errors.tests @@ -288,6 +288,9 @@ ${THIS_SH} -o posix ./errors7.sub ${THIS_SH} ./errors8.sub +${THIS_SH} -c 'return ; echo after return' bash +${THIS_SH} -o posix -c 'return ; echo after return' bash + # this must be last! # in posix mode, a function name must be a valid identifier # this can't go in posix2.tests, since it causes the shell to exit |