Re: [libvirt] [test-API][PATCH] Fix problem in create netfs pool and logical volume

2012-08-28 Thread Guannan Ren
On 08/28/2012 11:11 AM, Wayne Sun wrote: create_netfs_pool: In rhel7 the source nfs mount dir shows in /proc/mounts will end with a '/' which in rhel6 and rhel5 didn't. So the check with exact match will fail on rhel7. Change with '/*' will accept with both '/' exist or not.

[libvirt] [test-API][PATCH] Fix problem in create netfs pool and logical volume

2012-08-27 Thread Wayne Sun
create_netfs_pool: In rhel7 the source nfs mount dir shows in /proc/mounts will end with a '/' which in rhel6 and rhel5 didn't. So the check with exact match will fail on rhel7. Change with '/*' will accept with both '/' exist or not. create_logical_volume: When grep lvcreate command in