mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-09-03 20:21:43 +00:00
Because the intention is for swupd format numbers to either remain the same between LAST_VER and current, or to increase as part of a format bump, this leaves the remaining undesirable case. Add a basic check to make sure the format never decreases, and add a functional test. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>