[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] freebsd: Add gnulib environ module for the commandtest



On Thu, Jul 28, 2011 at 07:56:18AM -0600, Eric Blake wrote:
> On 07/28/2011 07:52 AM, Matthias Bolte wrote:
> >At least all tests compile on FreeBSD again. But most of the SSH cases
> >in virnetmessagetest are failing and I don't understand why yet.
> 
> Could it be a PATH vs. exec() issue, where BSD ends up doing a
> slightly different PATH search and not executing the dummy 'ssh'
> script from our test directory?  Does a ktrace (or truss or strace
> or however it's spelled) shed any light?

NB, if you run  ./virnetsockettest it won't work. You have to run

   PATH=`pwd`:$PATH ./virnetsockettest

Or

   make check TESTS=virnetsockettest

to ensure the $PATH is set to find the local fake ssh 


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 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]