diff options
Diffstat (limited to 'shell_cmds/sh/tests/builtins/return2.1')
-rw-r--r-- | shell_cmds/sh/tests/builtins/return2.1 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/builtins/return2.1 b/shell_cmds/sh/tests/builtins/return2.1 new file mode 100644 index 0000000..4da86f5 --- /dev/null +++ b/shell_cmds/sh/tests/builtins/return2.1 @@ -0,0 +1,7 @@ +# $FreeBSD: head/bin/sh/tests/builtins/return2.1 149791 2005-09-05 09:42:10Z stefanf $ +f() { + true && return 1 + return 0 +} + +f |