Add test-case for VG create

Signed-off-by: David Scott <dave.scott@citrix.com>
test: when creating a volume, don't use an infinite-sized one

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.create initial testcase now passes

Signed-off-by: David Scott <dave.scott@citrix.com>
Remove the temporary lvm.conf creation

We need to run our tests as root anyway so we might as well always
use the system LVM configuration. It would be unsafe to ever use
this code in a non-test situation.

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.create: add test for lvcreate

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.destroy: add test case

Signed-off-by: David Scott <dave.scott@citrix.com>
Add SR.scan with a simple unit test

Signed-off-by: David Scott <dave.scott@citrix.com>
debug: flush stderr after every line

Signed-off-by: David Scott <dave.scott@citrix.com>
Use the name 'command' everywhere to make each script more similar

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.create: we cannot remove the device unless we remove the LV first

Signed-off-by: David Scott <dave.scott@citrix.com>
test: run the per-command test-cases

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.attach test case passes.

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.detach is a no-op

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.destroy is a no-op

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.resize test case now passes

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #3 from djs55/add-initial-files

Add some basic test cases