On Mon 25 Feb 2008 at 06:17PM, Dan Price wrote:
> On Mon 25 Feb 2008 at 05:52PM, [EMAIL PROTECTED] wrote:
> > 634 Rewrite CLI tests in python
>
> Folks, this putback creates a framework for functional testing of the CLI
> portion of IPS.
Folks: Bart and Johansen have both noticed a problem with my putback
yesterday. The old cli-complete.ksh set $PATH to point into the proto
area, and the new version isn't doing that. Of course, all bugs have
friends, and this led me down a weird proto-area rabbit hole.
Here's a cleanup for these problems:
639 cli-complete/api-complete need to set PATH
640 Each cli test should be able to be run independently
This will allow a pretty wide range of invocations to "just work":
python cli-complete.py
python cli/t_rename.py
cd cli ; python t_rename.py
And so on-- and all will source everything from your proto area.
The downside is that we need a funny little prologue in the beginning of each
testcase, which you'll see in the review.
http://cr.opensolaris.org/~dp/ips-test-fixes/
Thanks for your review. I'd like to get this putback ASAP since it is
holding up other folks.
-dp
--
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss