git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
daemon: Change command to abort() on resource problems.
[libguestfs.git]
/
python
/
t
/
050-lvcreate.py
diff --git
a/python/t/050-lvcreate.py
b/python/t/050-lvcreate.py
index
444cee9
..
f98fe29
100644
(file)
--- a/
python/t/050-lvcreate.py
+++ b/
python/t/050-lvcreate.py
@@
-18,13
+18,12
@@
import os
import guestfs
import os
import guestfs
-g = guestfs.
guestfs
()
+g = guestfs.
GuestFS
()
f = open ("test.img", "w")
f.truncate (500 * 1024 * 1024)
f.close ()
g.add_drive ("test.img")
g.launch ()
f = open ("test.img", "w")
f.truncate (500 * 1024 * 1024)
f.close ()
g.add_drive ("test.img")
g.launch ()
-g.wait_ready ()
g.pvcreate ("/dev/sda")
g.vgcreate ("VG", ["/dev/sda"])
g.lvcreate ("LV1", "VG", 200)
g.pvcreate ("/dev/sda")
g.vgcreate ("VG", ["/dev/sda"])
g.lvcreate ("LV1", "VG", 200)