more tests (from Herbert Xu) and answers (from Geoff Clare)

This commit is contained in:
tg 2010-04-09 14:46:43 +00:00
parent ff9f89f22f
commit b2d317986d

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.371 2010/04/08 13:21:03 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.372 2010/04/09 14:46:43 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 $
@ -4401,9 +4401,15 @@ description:
http://thread.gmane.org/gmane.comp.standards.posix.austin.general/1925
stdin:
X=a Y=b; X=$Y Y=$X "$__progname" -c 'echo 1 $X $Y .'; echo 2 $X $Y .
unset X Y Z
X=a Y=${X=b} Z=$X "$__progname" -c 'echo 3 $Z .'
unset X Y Z
X=a Y=${X=b} Z=$X; echo 4 $Z .
expected-stdout:
1 b a .
2 a b .
3 b .
4 a .
---
name: xxx-multi-assignment-posix-nocmd
description: