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