summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNick Hanley <nicholasjhanley@gmail.com>2022-07-07 17:53:56 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2022-07-12 11:51:19 +0000
commit1e2bb841117bed5c37c708f699cc0953c2343ed6 (patch)
tree5ed539784420288d6b5d060701c585c32317e256 /tests
parent077941f920f60d46565a95cbeb4da3ed4a3392c6 (diff)
downloadalpine-conf-1e2bb841117bed5c37c708f699cc0953c2343ed6.zip
tests: setup-alpine: check for authorized_keys in lbu.list
setup-alpine doesn't add root/.ssh to lbu.list. Check for authorized_keys specifically.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/setup_alpine_test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/setup_alpine_test b/tests/setup_alpine_test
index 4fff2f2..3ed6d79 100755
--- a/tests/setup_alpine_test
+++ b/tests/setup_alpine_test
@@ -50,8 +50,8 @@ setup_alpine_create_answerfile_body() {
|| atf_fail "ssh key not set for root"
grep home/juser etc/apk/protected_paths.d/lbu.list \
|| atf_fail "home/juser was not added to lbu.list"
- grep root/.ssh etc/apk/protected_paths.d/lbu.list \
- || atf_fail "root/.ssh was not added to lbu.list"
+ grep root/.ssh/authorized_keys etc/apk/protected_paths.d/lbu.list \
+ || atf_fail "root/.ssh/authorized_keys was not added to lbu.list"
}
setup_alpine_kvm_clock_body() {