xref: /freebsd/bin/sh/tests/invocation/sh-c1.0 (revision 74ca7bf1d4c7173d5575ba168bc4b5f6d181ff5a)
1# $FreeBSD$
2# Test that -c executes command_string with the given name and arg
3
4${SH} -c 'echo $0 $@' moo foo | grep -qx -- "moo foo"
5