From 94f0079599ab6aa5191e47953abd43d1447c08e3 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 4 Jul 2022 14:45:39 +0200 Subject: setup-alpine: lbu add home directory for created user make sure that we include the home directory to created user fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517 --- tests/setup_alpine_test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/setup_alpine_test b/tests/setup_alpine_test index 39c14af..826ea6e 100755 --- a/tests/setup_alpine_test +++ b/tests/setup_alpine_test @@ -45,5 +45,8 @@ setup_alpine_create_answerfile_body() { setup-alpine -f answers grep "ssh-rsa blahbla user@example.com" home/juser/.ssh/authorized_keys \ || atf_fail "ssh key not set for juser" + grep home/juser etc/apk/protected_paths.d/lbu.list \ + || atf_fail "home/juser was not added to lbu.list" } + -- cgit v1.2.3