fix the regression test, mksh fails it now

This commit is contained in:
tg 2007-07-06 01:30:32 +00:00
parent e6055dbf19
commit 85a4a1d9c4

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.121 2007/07/05 11:49:07 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.122 2007/07/06 01:30:32 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 $
@ -4042,7 +4042,7 @@ stdin:
x=abcdefghi
typeset -i y=123456789
typeset -i 16 z=123456789 # 16#75bcd15
print a ${x:2:3} ${y:2:3} ${z:2:3} a
print a t${x:2:2} ${y:2:3} ${z:2:3} a
print b ${x::3} ${y::3} ${z::3} b
print c ${x:2:} ${y:2:} ${z:2:} c
print d ${x:2} ${y:2} ${z:2} d
@ -4050,7 +4050,7 @@ stdin:
print f ${x:2:7} ${y:2:7} ${z:2:8} f
print g ${x:2:8} ${y:2:8} ${z:2:9} g
expected-stdout:
a cde 345 #75 a
a tcd 345 #75 a
b abc 123 16# b
c c
d cdefghi 3456789 #75bcd15 d