From: Stefano Lattarini Date: Tue, 15 May 2012 09:25:05 +0000 (+0200) Subject: [ng] coverage: test memoize on variable with long name and long content X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99cb72ef8aec065d712ccafb5f434c5da9f980b8;p=thirdparty%2Fautomake.git [ng] coverage: test memoize on variable with long name and long content * t/memoize.sh: Enhance. Signed-off-by: Stefano Lattarini --- diff --git a/t/memoize.tap b/t/memoize.tap index 8bd56f766..f379e3426 100755 --- a/t/memoize.tap +++ b/t/memoize.tap @@ -19,7 +19,7 @@ am_create_testdir=empty . ./defs || Exit 1 -plan_ 13 +plan_ 14 ocwd=`pwd` || fatal_ "couldn't get current working directory" @@ -106,6 +106,26 @@ END #--------------------------------------------------------------------------- +# $var and $val will be 3 * 2^12 ~ 12000 characters long. +var=foo +val=bar +for i in 1 2 3 4 5 6 7 8 9 10 11 12; do + var=$var$var + val=$val$val +done + +T "very long variable name with long content" <