ah, so this is how it fails, in a function!
This commit is contained in:
parent
667c0ba026
commit
177f707a9f
9
check.t
9
check.t
@ -1,4 +1,4 @@
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.245 2008/11/30 16:53:15 tg Exp $
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.246 2008/11/30 16:57:40 tg Exp $
|
||||
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
|
||||
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
|
||||
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
|
||||
@ -5254,9 +5254,12 @@ stdin:
|
||||
echo dwa >&2
|
||||
echo tri >&3
|
||||
}
|
||||
[[ -e bar ]] && threeout &>foo
|
||||
function blubb {
|
||||
[[ -e bar ]] && threeout "$bf" &>foo
|
||||
}
|
||||
blubb
|
||||
echo -n >bar
|
||||
[[ -e bar ]] && threeout &>foo
|
||||
blubb
|
||||
echo ===
|
||||
cat foo
|
||||
expected-stdout:
|
||||
|
Loading…
Reference in New Issue
Block a user