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