git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added bug about qemu not being cleaned up after segfault.
[libguestfs.git]
/
python
/
t
/
050-lvcreate.py
diff --git
a/python/t/050-lvcreate.py
b/python/t/050-lvcreate.py
index
98227e2
..
8503023
100644
(file)
--- a/
python/t/050-lvcreate.py
+++ b/
python/t/050-lvcreate.py
@@
-15,9
+15,10
@@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+import os
import guestfs
import guestfs
-g = guestfs.
guestfs
()
+g = guestfs.
GuestFS
()
f = open ("test.img", "w")
f.truncate (500 * 1024 * 1024)
f.close ()
f = open ("test.img", "w")
f.truncate (500 * 1024 * 1024)
f.close ()
@@
-33,5
+34,4
@@
if (g.lvs () != ["/dev/VG/LV1", "/dev/VG/LV2"]):
g.sync ()
del g
g.sync ()
del g
-import os
os.unlink ("test.img")
os.unlink ("test.img")