summaryrefslogtreecommitdiff
path: root/tests/setup_alpine_test
AgeCommit message (Collapse)Author
2022-07-18tests: fix running tests over sshNatanael Copa
setup-alpine checks SSH_CONNECTION. Make sure to clear it when running tests so tests does not fail when we run the testsuite over ssh.
2022-07-15setup-alpine: ensure unintentional ssh diconnectNatanael Copa
Avoid restart network when running over ssh. hostname is now a dependency of networking so openrc will restart networking together with hostname, which may lead to disconnection when running over ssh. Solve this by only restart hostname if SSH_CONNECTION is empty. fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/14018
2022-07-12tests: setup-alpine: match against whole linesNick Hanley
Be more strict in checking the contents of files by matching against the whole line. This prevents tests from passing with extraneous leading or trailing characters, or partial paths matching in lbu.list.
2022-07-12tests: setup-alpine: check for authorized_keys in lbu.listNick Hanley
setup-alpine doesn't add root/.ssh to lbu.list. Check for authorized_keys specifically.
2022-07-12setup-alpine: fix typosNick Hanley
2022-07-07setup-alpine: add ROOTSSHKEY to set ssh key for rootNatanael Copa
Allow setting root's ssh key from answer file Also add a test to verify that it gets included in lbu for disk install. ref commit 619f3a2d4de9 (setup-alpine: persist root authorized_keys)
2022-07-05setup-alpine: ask for NTP on qemu without kvm-clockNatanael Copa
Ask for NTP when running qemu, but without kvm-clock source fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10508
2022-07-04setup-alpine: lbu add home directory for created userNatanael Copa
make sure that we include the home directory to created user fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517
2022-07-01setup-interfaces: use fake /sys/class/net for testingNatanael Copa
this fixes the tests so we dont mix with the hosts network interfaces.
2022-07-01setup-alpine: add USERSSHKEY option to answerfileNatanael Copa
Add a variable for user's ssh key, USERSSHKEY. We need this because the key is space separated and we want avoid parse USEROPTS with eval to handle quotes. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10520
2022-07-01setup-alpine: update generated answerfile and add testNatanael Copa
test that the generated answerfile actually is interactive
2022-05-23setup-alpine: add simple test for quick installNatanael Copa
2022-05-13tests: add test for setup-alpineNatanael Copa