summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/case16.0
blob: 2a1e2fdfecb98299c462056af2093f96ae65fa42 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.1/bin/sh/tests/builtins/case16.0 230154 2012-01-15 20:04:05Z jilles $

f() { return 42; }
f
case x in
x) [ $? = 42 ] ;;
esac