[pkg-kolab] r1436 - pkg-kolab_testsuite

Mathieu Parent sathieu at alioth.debian.org
Sat Nov 28 14:31:56 UTC 2009


Author: sathieu
Date: 2009-11-28 14:31:56 +0000 (Sat, 28 Nov 2009)
New Revision: 1436

Modified:
   pkg-kolab_testsuite/testsuite
Log:
little bi less error

Modified: pkg-kolab_testsuite/testsuite
===================================================================
--- pkg-kolab_testsuite/testsuite	2009-11-28 14:29:55 UTC (rev 1435)
+++ pkg-kolab_testsuite/testsuite	2009-11-28 14:31:56 UTC (rev 1436)
@@ -405,7 +405,7 @@
 
     print "* Flushing MAC adress udev rule:\n";
     domain_pre_chroot($domid, $domname);
-    local_command("sudo rm $storagepooldir/domains/$domname/disk/etc/udev/rules.d/70-persistent-net.rules");
+    local_command("sudo rm -f $storagepooldir/domains/$domname/disk/etc/udev/rules.d/70-persistent-net.rules");
     domain_post_chroot($domid, $domname);
     
     print "* Preparing:\n";
@@ -413,7 +413,7 @@
         #release
         local_command("VBoxManage unregistervm '$domname' --delete");
         local_command("VBoxManage closemedium disk '$storagepooldir/domains/$domname/disk.vmdk'");
-        local_command("sudo rm '$storagepooldir/domains/$domname/disk.vmdk'");
+        local_command("sudo rm -f '$storagepooldir/domains/$domname/disk.vmdk'");
         #volume
         my $loopdev = `sudo losetup --find --show '$storagepooldir/domains/$domname/disk.img'`;
         $loopdev =~ s/\s+$//;




More information about the pkg-kolab-devel mailing list