summary refs log tree commit diff
path: root/bin/1sh/tests/invocation/sh-fca1.0
blob: c0a5082b4986482f180999bf9ca7b6f77646710c (plain) (blame)
1
2
3
4
5
6
7
# $FreeBSD: releng/12.1/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