summaryrefslogtreecommitdiff
path: root/tests/bin
AgeCommit message (Collapse)Author
2022-07-15tests: support 'status' in fake rc-serviceNatanael Copa
so we can verify that service was started when it should and not started when it shouldn't.
2022-07-13setup-interfaces: add test for interactive wifi setupNatanael Copa
2022-07-01tests: add fake adduserNatanael Copa
So we can simulate what happens when adduser fails ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
2022-06-28tests: make fake wget to error on missing/or empty urlNatanael Copa
2022-05-23tests: add a fake openrcNatanael Copa
setup-alpine conditionally runs some parts depending on `openrc --sys` output. Add a fake openrc so we can test this in the future. This also fixes the CI which may not have openrc installed.
2022-05-19tests: make it possible to simluate wget failureNatanael Copa
Make it possible to simulate wget errors by fetching an URL with 'fail' or '404' in the URL string. 'fail' results in DNS error(ish) and '404' returns a 404 error message.
2022-05-19tests: add a fake wgetNatanael Copa
so we can simulate fetching things from internet
2022-05-19tests: add fake rc-service scriptNatanael Copa
with tests to verify that it works
2022-05-19tests: add fake rc-update binaryNatanael Copa
and add tests for it to verify that it actually works as expected We can use this for the other tests later