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