cosmetic, fix message when ssh_slice_off fails
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 27 Aug 2013 09:52:22 +0000 (11:52 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 27 Aug 2013 09:52:22 +0000 (11:52 +0200)
system/TestSlice.py

index 1e53cac..57af0ff 100644 (file)
@@ -30,8 +30,11 @@ class CompleterTaskSshSlice (CompleterTask):
         if self.dry_run: return True
         if self.expected:       return retcod==0
         else:                   return retcod!=0
-    def failure_message (self): 
-        return "Could not ssh into slice %s @ %s"%(self.slicename,self.hostname)
+    def failure_message (self):
+        if self.expected:
+            return "Could not ssh into sliver %s@%s"%(self.slicename,self.hostname)
+        else:
+            return "Could still ssh into sliver%s@ %s"%(self.slicename,self.hostname)
 
 class TestSlice: