summary refs log tree commit diff
path: root/bin/cash/tests/invocation/sh-fca1.0
blob: fab01f7f3fadc1d4d1e77d77d79689137b9d8609 (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.0/bin/sh/tests/invocation/sh-fca1.0 322438 2017-08-12 19:17:48Z jilles $
# Test that attached options before and after c are processed

case `${SH} -fca 'echo $-:$-:$0:$@' foo -bar` in
*f*:*a*:foo:-bar) true ;;
*) false ;;
esac