swupd-client
swupd-client copied to clipboard
Create more check-update tests
- [ ] check-update --nosigcheck
- [ ] check-update --ignore-time
- [ ] check-update -u
- [ ] check-update -v -c
- [ ] check-update -u -P
@otaviobp Currently the global.time_check does not apply for check-update commands as we run them as NO_ROOT. This means we don't to get check for globals.time_check flag and will never verify_time(https://github.com/clearlinux/swupd-client/blob/4a893f93e63193ea81e05f37dcebd76cf3ddeeb1/src/helpers.c#L435).
So this means -I flag will never have an impact on the status of check-update command. Let me know if that makes sense!