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