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