summaryrefslogtreecommitdiff
path: root/tests/bin
AgeCommit message (Collapse)Author
2023-03-24tests: add fake apk info supportNatanael Copa
fake apk info --depends gnome
2023-01-30setup-disk: Add support for booting zfs (in grub)Magnus Sandin
2023-01-26tests: fix fake apkNatanael Copa
option --quiet has no optarg so we should not shift.
2023-01-24setup-*: use fake apk instead of $MOCK apkNatanael Copa
2023-01-24tests: move fake audit to fake apkNatanael Copa
So we can re-use it
2023-01-24tests: add fake apk auditNatanael Copa
useful for `lbu package`
2022-11-21setup-apkrepos: add test for fastest mirror (-f)Natanael Copa
2022-11-18tests: add fake findfs and blkid for testing setup-lbuNatanael Copa
2022-11-17update-kernel: handle firmware files with spacesNatanael Copa
2022-11-17update-kernel: fix firmware inclusion in modloopNatanael Copa
Some brcm firmwares uses a glob. Fix this and add tests to verify that it works as expected. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10533
2022-11-17tests: add fake modinfoNatanael Copa
Needed to test that we get the proper firmware included in modloop with update-kernel
2022-11-17tests: add fake apkNatanael Copa
We need this to test what we get into modloop in update-kernel
2022-11-15setup-interfaces: use iw instead of wireless-toolsNatanael Copa
also fix so we can join networks without PSK filter out hidden (\x00) SSIDs fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10518 fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10475
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