xref: /freebsd/bin/sh/tests/invocation/sh-c1.0 (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
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