On 04/ 2/10 09:51 PM, Brock Pytlik wrote:
Webrev:
http://cr.opensolaris.org/~bpytlik/ips-15482-v1/

Bug:
15482 Fix for bug 6177 breaks bui search

This fixes BUI search so that it works again. I think I covered all the
bases during hand testing (actions/packages, latest versions/all
versions), but I'd appreciate suggestions for other testing I should do
on it.

Since the BUI uses GET parameters to trigger searches, you should be able to add a remote search test to ensure that search works as expected. Just add it to cli.t_pkg_depotd. You should be able to use misc.versioned_urlopen() or urllib to make the request and then check the result.

Once you've made the request, even if you still got a 200, that should cause the unit test's auto check for depot tracebacks to find something wrong.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to