diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-06-28 22:02:09 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-06-28 22:02:09 +0100 |
commit | 2850e67282fa59c2c99aa8d3d924b5306167fdf5 (patch) | |
tree | de4d8f87b5bba729f63f0d0cad1087d1e6b8d61a /systest.py | |
parent | 336afecca5427070ce97155fe6341a0514500e92 (diff) | |
download | systest-2850e67282fa59c2c99aa8d3d924b5306167fdf5.tar.gz |
Add --ssh-port option.
Diffstat (limited to 'systest.py')
-rwxr-xr-x | systest.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,8 @@ class TestCase(unittest.TestCase): def targetcmd(self, argv, *args, **kwargs): '''Run command on test target.''' - full_argv = (['ssh', '-l', self.settings['user'], + full_argv = (['ssh', '-l', self.settings['user'], + '-p', str(self.settings['ssh-port']), self.settings['target']] + argv) returncode, out, err = self.runcmd(full_argv, *args, **kwargs) |