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

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