freebsd-skq/bin/sh/tests/invocation/sh-c1.0
jilles ef8ca7bad4 sh: Add tests for sh -c that already pass.
PR:		220587
Submitted by:	Ryan Moeller
2017-08-12 19:17:48 +00:00

5 lines
134 B
Plaintext

# $FreeBSD$
# Test that -c executes command_string with the given name and arg
${SH} -c 'echo $0 $@' moo foo | grep -qx -- "moo foo"