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