a regression and a new bug, found during cvs development

This commit is contained in:
tg 2011-05-07 00:02:26 +00:00
parent 3f21a0e199
commit 88686b81bd

21
check.t
View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.451 2011/05/06 15:41:21 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.452 2011/05/07 00:02:26 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 $
@ -2090,6 +2090,14 @@ stdin:
expected-stdout:
one
---
name: heredoc-9e
description:
Check here string related regression with multiple iops
stdin:
echo $(tr r z <<<'bar' 2>&-)
expected-stdout:
baz
---
name: heredoc-10
description:
Check direct here document assignment
@ -6033,6 +6041,17 @@ stdin:
expected-stdout:
makro
---
name: aliases-funcdef-4
description:
Functions should only take over if actually being defined
stdin:
alias local
false || local() { :; }
alias local
expected-stdout:
local=typeset
local=typeset
---
name: arrays-1
description:
Check if Korn Shell arrays work as expected