aboutsummaryrefslogtreecommitdiff
path: root/manual/se/tc45.yaml
blob: 72876215244396c06cbfd4467032e93a011758ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
metadata:
    name: TC45
    format: "Manual Test Definition 1.0"
    description: "TC45: SSH"
    maintainer:
        - ryan.harkin@linaro.org
    os:
        - openembedded
    scope:
        - functional
    devices:
        - lces2
        - soca9
    environment:
        - manual-test

run:
    steps:
        - 'Assign an IP address if networking configured'
        - 'udhcpc -i eth1'
        - ' '
        - "make sure dropbear isn't running"
        - 'systemctl stop   dropbear.socket; systemctl status dropbear.socket'
        - ' '
        - '# Attempt to SSH into the board'
        - '# This should fail.'
        - ' '
        - '# In file /etc/default/dropbear'
        - '# Replace `DROPBEAR_EXTRA_ARGS="-w"` with `DROPBEAR_EXTRA_ARGS=`'
        - "sed -i 's/\"-w\"/\"\"/g' /etc/default/dropbear"
        - ' '
        - '# Start dropbear'
        - 'systemctl start  dropbear.socket; systemctl status dropbear.socket'
        - ' '
        - '# Attempt to SSH into the board'
        - '# This should pass.'
        - '# Check who is connected'
        - 'systemctl status dropbear.socket'


    expected:
        - "remote users are able to SSH into the board"
        - "systemctl shows users connecting and disconnecting"