Skip to content

Commit

Permalink
Add test for systemd-timesyncd
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
  • Loading branch information
fgiudici authored and mudler committed May 27, 2022
1 parent 92efa75 commit 6aa38ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/smoke/smoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ var _ = Describe("cOS Smoke tests", func() {
})

Context("After install", func() {

It("has default services on", func() {
for _, svc := range []string{"systemd-timesyncd"} {
sut.SystemdUnitIsStarted(svc, s)
}
})

It("can boot into passive", func() {
err := s.ChangeBootOnce(sut.Passive)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit 6aa38ed

Please sign in to comment.