[xen-tools-discuss] Fix for bug #704878 breaks tests/deb build when lvm is set in config file.
Adam Wendt
adam at acehostingllc.com
Wed Oct 30 22:46:08 CET 2013
I would be remiss if I didn’t point out that I’m doing this on squeeze, so I already had to mess with things a bit, changing debian/compat to 8 and running dpkg-buildpackage with -d. Though I don’t see any reason this would make a difference. If there is something else related to my environment, please let me know.
Thanks,
Adam Wendt
Ace Hosting LLC
On Wednesday, October 30, 2013 at 2:41 PM, Adam Wendt wrote:
> The fix for this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704878 makes it so I can’t build a .deb on my server.
>
> I have lvm=<something> in my /etc/xen-tools/xen-tools.conf
>
> So when I run ‘prove t/xen-delete-image.t’ I get:
> $ prove t/xen-delete-image.t
> t/xen-delete-image.t .. 1/?
> # Failed test 'Calling xen-delete-image returned exit code 0'
> # at t/xen-delete-image.t line 79.
>
>
> I printed out $CONFIG{‘lvm’} to verify that this was the cause:
>
> not ok 6 - Calling xen-delete-image returned exit code 0
> Error: --test only works with --dir LVM: vg1.
>
>
>
> I can’t think of any solutions off the top of my head that solve this for all use cases, thoughts?
>
> Thanks,
>
> Adam Wendt
> Ace Hosting LLC
More information about the xen-tools-discuss
mailing list