File tree 3 files changed +7
-7
lines changed
tests/suites/authorized_keys
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,20 @@ run_machine_ssh() {
16
16
17
17
# Watch the debug log for the agent to assert that a key has been added to
18
18
# the machine.
19
- timeout 5m juju debug-log --tail | grep -m 1 ' adding ssh keys to authorised keys' || true
19
+ timeout 5m juju debug-log --tail | grep -m 1 ' adding ssh keys to authorized keys' || true
20
20
21
21
# Check that the test can ssh to the machine with the new keypair and run a
22
22
# command.
23
23
check_contains " $( juju ssh 0 -i \" ${ssh_key_file} \" echo foobar) " " foobar"
24
24
}
25
25
26
- # test_machine_ssh is responsible for testing that adding authorised keys to a
26
+ # test_machine_ssh is responsible for testing that adding authorized keys to a
27
27
# model traverse through the controller and down to the machine agents. After
28
28
# this has happened ssh access to a machine should be granted for the owner of
29
29
# the newly added public key.
30
30
test_machine_ssh () {
31
31
if [ " $( skip ' test_machine_ssh' ) " ]; then
32
- echo " ==> TEST SKIPPED: authorisedkeys machine ssh"
32
+ echo " ==> TEST SKIPPED: authorized keys machine ssh"
33
33
return
34
34
fi
35
35
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ test_authorized_keys() {
9
9
echo " ==> Checking for dependencies"
10
10
check_dependencies juju
11
11
12
- log_file=" ${TEST_DIR} /authorised_keys .log"
12
+ log_file=" ${TEST_DIR} /authorized_keys .log"
13
13
14
- ensure " authorisedkeys " " $log_file "
14
+ ensure " authorizedkeys " " $log_file "
15
15
16
16
test_user_ssh_keys
17
17
test_machine_ssh
18
18
19
- destroy_controller " authorisedkeys "
19
+ destroy_controller " authorizedkeys "
20
20
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ run_user_ssh_keys() {
27
27
28
28
test_user_ssh_keys () {
29
29
if [ " $( skip ' test_user_ssh_keys' ) " ]; then
30
- echo " ==> TEST SKIPPED: authorisedkeys user ssh keys"
30
+ echo " ==> TEST SKIPPED: authorized keys user ssh keys"
31
31
return
32
32
fi
33
33
You can’t perform that action at this time.
0 commit comments