xref: /dflybsd-src/tools/regression/bin/sh/invocation/sh-c1.0 (revision 3e3895bf4584c1562faf4533cbd97026ee6a8dcf)
1*3e3895bfSKrzysztof Piecuch# $FreeBSD: head/bin/sh/tests/invocation/sh-c1.0 322438 2017-08-12 19:17:48Z jilles $
2*3e3895bfSKrzysztof Piecuch# Test that -c executes command_string with the given name and arg
3*3e3895bfSKrzysztof Piecuch
4*3e3895bfSKrzysztof Piecuch${SH} -c 'echo $0 $@' moo foo | grep -qx -- "moo foo"
5