git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional test programs for Perl, Python, OCaml bindings.
[libguestfs.git]
/
python
/
t
/
010-launch.py
diff --git
a/python/t/010-launch.py
b/python/t/010-launch.py
index
c2bdd1d
..
1cba322
100644
(file)
--- a/
python/t/010-launch.py
+++ b/
python/t/010-launch.py
@@
-15,6
+15,7
@@
# 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
g = guestfs.guestfs()
import guestfs
g = guestfs.guestfs()
@@
-24,3
+25,5
@@
f.close ()
g.add_drive ("test.img")
g.launch ()
g.wait_ready ()
g.add_drive ("test.img")
g.launch ()
g.wait_ready ()
+
+os.unlink ("test.img")