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: 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: 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 $
|
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
|
||||||
@ -5254,9 +5254,12 @@ stdin:
|
|||||||
echo dwa >&2
|
echo dwa >&2
|
||||||
echo tri >&3
|
echo tri >&3
|
||||||
}
|
}
|
||||||
[[ -e bar ]] && threeout &>foo
|
function blubb {
|
||||||
|
[[ -e bar ]] && threeout "$bf" &>foo
|
||||||
|
}
|
||||||
|
blubb
|
||||||
echo -n >bar
|
echo -n >bar
|
||||||
[[ -e bar ]] && threeout &>foo
|
blubb
|
||||||
echo ===
|
echo ===
|
||||||
cat foo
|
cat foo
|
||||||
expected-stdout:
|
expected-stdout:
|
||||||
|
Loading…
Reference in New Issue
Block a user