swupd-client icon indicating copy to clipboard operation
swupd-client copied to clipboard

Create more check-update tests

Open otaviobp opened this issue 5 years ago • 1 comments

  • [ ] check-update --nosigcheck
  • [ ] check-update --ignore-time
  • [ ] check-update -u
  • [ ] check-update -v -c
  • [ ] check-update -u -P

otaviobp avatar Oct 01 '19 17:10 otaviobp

@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!

karthikprabhuvinod avatar Jan 10 '20 01:01 karthikprabhuvinod