test target: launch user sshd for opening term 31/16231/6 5.99.5 5.99.6 flounder/5.99.5 flounder/5.99.6 flounder_5.99.5 flounder_5.99.6
authorClément Bénier <clement.benier@iot.bzh>
Wed, 22 Aug 2018 12:06:34 +0000 (14:06 +0200)
committerClément Bénier <clement.benier@iot.bzh>
Fri, 24 Aug 2018 15:33:01 +0000 (17:33 +0200)
commit7fb08b4791214b648175d19ce14fa297b4ea2e16
tree496515e0ebfc9d59877734bebbf82d53f35be7d5
parent7ec4cfb73ca8ead1c816e3c7845211ddfb548a12
test target: launch user sshd for opening term

- fixtures for user ssh server (authorized_keys, ssh, sshd_config,
ssh_host_rsa_key, ssh.pub)
- exec following cmd
$ /usr/bin/sshd
    - D
    -f sshd_config
    -h ssh_host_rsa_key
    -o AuthorizedKeysFile=authorized_keys
    -p port
- uncomment former terminal tests for open/close

Change-Id: If1765c4860ef3a95f7a92f1f9652427828b98083
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
test/config.go
test/fixtures/ssh/authorized_keys [new file with mode: 0644]
test/fixtures/ssh/ssh [new file with mode: 0644]
test/fixtures/ssh/ssh.pub [new file with mode: 0644]
test/fixtures/ssh/ssh_host_rsa_key [new file with mode: 0644]
test/fixtures/ssh/sshd_config [new file with mode: 0644]
test/main_test.go
test/target_test.go