Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Suggestions for tests
- X-seq: zsh-workers 19356
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Subject: Suggestions for tests
- Date: Fri, 9 Jan 2004 12:58:34 +0100
- Mail-followup-to: Zsh Workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
Hi all :)
I've noticed that a zsh test failed because I had a disabled
command in my /etc/zshenv. Could it be possible to check for the
prerequisites of a test before doing it? I mean, for example, in one
test, the '-r' flag of the 'test' builtin is not checked under root,
because it wouldn't make sense, and that kind of sanity checking
should be applied to the rest of the tests.
The sanity tests should include: module presence, exported
variables, builtin presence, etc...
This may seem excessive, but without this kind of sanity
testing, the zsh tests are only useful if zsh was built with the
default configuration and run without a /etc/zshenv...
Thanks a lot, as always, for such a good shell :)
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author