[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:41:37 CET 2013


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