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