Files
Otavio Pontes 84e507d3f5 service: Remove check-update service
Clear Linux isn't using the check-update service anymore for a long time
and there's no other known uses for those scripts. So there's no reason to
keep them.

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2020-03-09 14:10:51 -07:00

20 lines
545 B
Bash
Executable File

#!/usr/bin/env bats
@test "INS001: Check if all files were installed successfully in a full install" {
# Binaries
[ -x /usr/bin/swupd ]
[ -x /usr/bin/verifytime ]
# Manuals
[ -s /usr/share/man/man4/update-triggers.target.4 ]
[ -s /usr/share/man/man4/swupd-update.timer.4 ]
[ -s /usr/share/man/man4/swupd-update.service.4 ]
[ -s /usr/share/man/man1/swupd.1 ]
# System d files
[ -s /usr/lib/systemd/system/swupd-update.timer ]
[ -s /usr/lib/systemd/system/swupd-update.service ]
[ -s /usr/lib/systemd/system/verifytime.service ]
}