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