diff --git a/check.t b/check.t index 3d55bbb..d8475ad 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.710 2015/10/09 21:36:52 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.711 2015/10/13 21:39:53 tg Exp $ # -*- mode: sh -*- #- # Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, @@ -475,6 +475,9 @@ stdin: va[1975973142]=right va[4123456789]=wrong echo x7 ${va[#4123456789%2147483647]} + # make sure multiple calculations don't interfere with each other + let '# mca = -4 % -2' ' mcb = -4 % -2' + echo x8 $mca $mcb expected-stdout: x1 -1 4294967295 x2 -171510507 4123456789 @@ -483,6 +486,7 @@ expected-stdout: x5 -171510507 4123456789 x6 1975973142 1975973142 x7 right + x8 -4 0 --- name: arith-limit32-1 description: