Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test (re)numbering



BArt wrote
> I'd like to propose we renumber to the following numbering scheme:
> 
> 00    : cd (the example test)
> 01-29 : Shell syntax and other features usable in scripts (no modules!)
> 30    : zmodload
> 31-49 : As 01-29, but for features loaded from modules
> 50    : zpty
> 51-   : Interactive-only features (e.g. completion)

The problems really start when we write tests for builtins, which we will
(`we' possibly being a euphemism in this case), and which could
proliferate.  There's no world digit shortage; we could just use
three-digit numbers along the lines of

0XX   shell syntax
1XX   builtins (i.e. builtin builtins)
2XX   zmodload and modules
3XX   zpty and interactive features

which means it's easy to remember where numbers for the group you're
writing tests in run out, and guarantees no more renumbering until zsh 8.0.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author