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