[pkg-kolab] r1457 - pkg-kolab_testsuite

Mathieu Parent sathieu at alioth.debian.org
Sun Nov 29 23:08:19 UTC 2009


Author: sathieu
Date: 2009-11-29 23:08:19 +0000 (Sun, 29 Nov 2009)
New Revision: 1457

Modified:
   pkg-kolab_testsuite/testsuite
Log:
- proper removal of vm in VirtualBow
- dont fail on gpg check

Modified: pkg-kolab_testsuite/testsuite
===================================================================
--- pkg-kolab_testsuite/testsuite	2009-11-29 22:44:01 UTC (rev 1456)
+++ pkg-kolab_testsuite/testsuite	2009-11-29 23:08:19 UTC (rev 1457)
@@ -440,6 +440,7 @@
     print "* Preparing:\n";
     if(conf('virt_type') eq 'vbox') {
         #release
+        local_command("VBoxManage modifyvm '$domname' --hda none", 1);
         local_command("VBoxManage unregistervm '$domname' --delete", 1);
         local_command("VBoxManage closemedium disk '$storagepooldir/domains/$domname/disk.vmdk'", 1);
         local_command("sudo rm -f '$storagepooldir/domains/$domname/disk.vmdk'");
@@ -543,9 +544,9 @@
         remote_command($domip, 'mkdir -p /tmp/kolabtemp');
         remote_command($domip, 'cd /tmp/kolabtemp && wget --no-verbose -r -l1 -nd --no-parent http://files.kolab.org/server/release/kolab-server-2.2.2/sources/');
         
-        remote_command($domip, 'gpg --keyserver hkp://subkeys.pgp.net --recv-key 5816791A');
-        remote_command($domip, 'gpg --verify SHA1SUMS.sig');
-        remote_command($domip, 'sha1sum -c SHA1SUMS');
+        remote_command($domip, 'gpg --keyserver hkp://subkeys.pgp.net --recv-key 5816791A', 1);
+        remote_command($domip, 'gpg --verify SHA1SUMS.sig', 1);
+        remote_command($domip, 'sha1sum -c SHA1SUMS', 1);
     } else {
         die 'Unknow kolab_installation_method: '.conf('kolab_installation_method');
     }




More information about the pkg-kolab-devel mailing list