[gnome-continuous] testbase: Delete overlay disks when we're done



commit 8748a46eab61bc6e4bf8485ab000b027addc4926
Author: Colin Walters <walters verbum org>
Date:   Wed Oct 16 13:25:01 2013 -0400

    testbase: Delete overlay disks when we're done
    
    There's no reason to keep them, and they get large.

 src/js/tasks/testbase.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/tasks/testbase.js b/src/js/tasks/testbase.js
index 522e9a3..74d4b91 100644
--- a/src/js/tasks/testbase.js
+++ b/src/js/tasks/testbase.js
@@ -487,6 +487,8 @@ const TestOneDisk = new Lang.Class({
             throw new Error(this._failedMessage);
         }
 
+        GSystem.shutil_rm_rf(diskClone, cancellable);
+
         this._parentTask._postQemu(cancellable);
 
         print("Completed testing of " + diskPath.get_basename());


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]