Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-24 | setup-*: use fake apk instead of $MOCK apk | Natanael Copa | |
2022-07-12 | tests: setup-sshd, setup-user: test ssh dir permissions | Nick Hanley | |
Follow up to the follow up (87e374fd, a91180af). Commit dfd40992 also affects ~/.ssh, so test its permissions too. | |||
2022-07-12 | tests: setup-sshd: test permissions of authorized_keys | Natanael Copa | |
follow up to commit dfd40992e173 (setup-sshd, setup-user: follow openssh permission recommendations) | |||
2022-07-07 | tests: setup-sshd: add test for SSH_KEY env var | Natanael Copa | |
Apparently we can set ssh key via SSH_KEY env var. make sure that it works. | |||
2022-05-24 | setup-sshd: fix backwards compat with -c | Natanael Copa | |
Do not enter interactive mode if -c was set, for backwards compatiblity. | |||
2022-05-23 | setup-sshd: fix root login without ssh key | Natanael Copa | |
2022-05-21 | setup-sshd: dont ask for root login if user was created | Natanael Copa | |
Don't ask about root login if a user account was created | |||
2022-05-21 | setup-sshd: refactor | Natanael Copa | |
Ask for ssh key in separate question unless PermitRootLogin was set to no. | |||
2022-05-21 | tests: fix interactive test | Natanael Copa | |
apparently atf_check can not run in a subshell so we can not pipe the input. Use a temp file for the answers instead | |||
2022-05-21 | setup-sshd: fix prompts | Natanael Copa | |
Use 'ssh' in lowercase consistently Fix duplicate [prohibit-password] | |||
2022-05-19 | setup-sshd: use fake rc-service/update for testing | Natanael Copa | |
2022-05-19 | setup-sshd: make test use the fake wget | Natanael Copa | |
2022-05-12 | tests: refactor to de-duplicate code | Natanael Copa | |
Have a shared test_env.sh to de-duplicate code. Add a common test_usage, where we test that: - option -h prints to stdout and exit with success - invalid option prints usage to stderr and exit with error Use a common init_tests and a common atf_init_test_cases Move documenation links to README.md | |||
2022-05-12 | tests: move atf_init_test_cases to the top | Natanael Copa | |
Makes it more visible. | |||
2022-05-11 | tests: rename help with usage | Natanael Copa | |
2022-05-11 | tests: setup-sshd: add test for interactive questions | Natanael Copa | |
2022-05-11 | tests: setup-sshd: move PATH to init_env, add refs to docs | Natanael Copa | |
2022-05-11 | tests: add test for setup-sshd openssh | Natanael Copa | |
Also set timout to 1 second so we can catch unexpected interactive questions. | |||
2022-05-11 | tests: add testing with kyua | Natanael Copa | |
Use kyua to do testing. |