diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-13 19:10:10 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-13 19:10:10 +0100 |
commit | 70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966 (patch) | |
tree | 253e14c3aff908f3587ba219cb4071a240dbfec7 /python/t | |
parent | b3f11c5f62f725fa3f09452b38d52dba764f80d0 (diff) | |
download | libguestfs-70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966.tar.gz libguestfs-70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966.tar.xz libguestfs-70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966.zip |
Additional test programs for Perl, Python, OCaml bindings.
Diffstat (limited to 'python/t')
-rw-r--r-- | python/t/010-launch.py | 3 | ||||
-rw-r--r-- | python/t/050-lvcreate.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/python/t/010-launch.py b/python/t/010-launch.py index c2bdd1d0..1cba3221 100644 --- 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. +import os import guestfs g = guestfs.guestfs() @@ -24,3 +25,5 @@ f.close () g.add_drive ("test.img") g.launch () g.wait_ready () + +os.unlink ("test.img") diff --git a/python/t/050-lvcreate.py b/python/t/050-lvcreate.py index 98227e23..444cee90 100644 --- a/python/t/050-lvcreate.py +++ b/python/t/050-lvcreate.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. +import os import guestfs g = guestfs.guestfs() @@ -33,5 +34,4 @@ if (g.lvs () != ["/dev/VG/LV1", "/dev/VG/LV2"]): g.sync () del g -import os os.unlink ("test.img") |