[Bash-completion-devel] Bump match_max for test suite?

Ville Skyttä ville.skytta at iki.fi
Sat Jan 9 18:54:42 UTC 2010


On Saturday 09 January 2010, Guillaume Rousse wrote:
> Le 09/01/2010 12:21, Ville Skyttä a écrit :
>
> > Opinions, should we fiddle with match_max where needed (like
> > lib/completions/rpm.exp above), or should we just bump it to a large
> > value (100000?) for all tests?  I'm leaning towards the latter.
> 
> I guess it's because you have a large rpm db, right ? Should we not try
> to provide a constant test environement, instead of relying of tester
> one ? It may be difficult in some case (such as creating a fake rpm db
> here), but others (such as host completion relying on content of
> HOSTFILE) should be more easy to mock.

Sure, but until/if that happens, is there any real drawback with increasing 
the buffer size?



More information about the Bash-completion-devel mailing list