[libvirt] Regression testing libvirt authentication

Daniel P. Berrange berrange at redhat.com
Fri Jan 10 14:12:24 UTC 2014


On Wed, Jan 08, 2014 at 04:32:12PM +0000, Richard W.M. Jones wrote:
> 
> I'm trying to find a way to regression-test a program which uses
> libvirt authentication (virConnectAuth, virConnectAuthPtr).  Ideally
> the test:/// driver would be able to fake authentication demands, but
> it doesn't seem to be able to do that.
> 
> Any suggestions?  Would this feature belong in the test driver or
> elsewhere?

I'd guess we could easily add auth to the test driver. Either the XML
doc for the test driver could allow you to fully specify auth parameters
it should try to collect or perhaps URI parameters could be abused.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list