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