]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/execution/set-n1.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / execution / set-n1.0
1 # $FreeBSD: head/bin/sh/tests/execution/set-n1.0 222661 2011-06-03 21:17:42Z jilles $
2
3 v=$( ($SH -n <<'EOF'
4 for
5 EOF
6 ) 2>&1 >/dev/null)
7 [ $? -ne 0 ] && [ -n "$v" ]