mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-03 12:11:28 +00:00
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>
20 lines
545 B
Bash
Executable File
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 ]
|
|
|
|
}
|