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