xref: /freebsd/bin/sh/tests/invocation/sh-c1.0 (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1*2cc32af0SJilles Tjoelker# Test that -c executes command_string with the given name and arg
2*2cc32af0SJilles Tjoelker
3*2cc32af0SJilles Tjoelker${SH} -c 'echo $0 $@' moo foo | grep -qx -- "moo foo"
4