Fix active SSH connection restoration 20/37820/3
authorJozef Behran <jbehran@cisco.com>
Tue, 19 Apr 2016 14:33:59 +0000 (16:33 +0200)
committerVratko Polák <vrpolak@cisco.com>
Mon, 2 May 2016 12:16:25 +0000 (12:16 +0000)
commit483c9f45610ccbf813fbb0e2426868152768f617
treea718318ba9c3cca2de606730108bd1ca9b05b508
parent563520ab7b215359b18f3c9aa2dcaab6aabd5b99
Fix active SSH connection restoration

Use a keyword teardown instead of a plain command to restore
the active SSH connection state. This prevents these keywords
from clobbering the active SSH connection when one of the
SSH commands fails.

Change-Id: I8001a4e4242df24c267e003dcdf7f24e7d6b4728
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/libraries/KarafKeywords.robot