
Guido Günther <agx@sigxcpu.org> wrote:
On Fri, Aug 08, 2008 at 06:30:56PM +0200, Jim Meyering wrote:
Guido Guenther <agx@sigxcpu.org> wrote:
...not the one in $PATH. I was wondering why this test kept failing...
You shouldn't need that change, since "make check" already sets PATH so that $abs_top_builddir/qemud is early in PATH. And it does it in such a way that it should work even if the absolute path contains shell meta-characters. I ran:
cd tests/ make check
and that particular check failed. I figure this isn't supported then?
No, that should work fine. I've confirmed that it works for me, in a $srcdir build. Now trying a non-srcdir build... Yep, that works, too. Can you debug it? E.g., echo "$PATH" from within the script and figure out why it doesn't include $$abs_top_builddir/qemud. Are you using modern versions of automake, autoconf, etc.?
It works for all other tests and it works for daemon-conf with the patch I attached so it should probably be applied to make things a bit more newbie robust?