sh: Add tests for -n flag.
[dragonfly.git] / tools / regression / bin / sh / execution / set-n3.0
1 # $FreeBSD: src/tools/regression/bin/sh/execution/set-n3.0,v 1.1 2011/06/03 21:17:42 jilles Exp $
2
3 v=$( ($SH -nc 'for') 2>&1 >/dev/null)
4 [ $? -ne 0 ] && [ -n "$v" ]