Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Test (re)numbering
- X-seq: zsh-workers 11341
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Test (re)numbering
- Date: Fri, 12 May 2000 09:55:10 +0100
- In-reply-to: "Your message of Fri, 12 May 2000 08:31:14 -0000." <1000512083115.ZM5065@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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