Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions t/40_e2e_deb_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,16 @@ func TestDEBinstaller(t *testing.T) {

runCmd(t, &cmd{
Cmd: "systemctl",
Args: []string{"status", "snclient"},
Like: []string{`/usr/bin/snclient`, `running`},
Args: []string{"is-active", "--quiet", "snclient"},
})

// Check the configured command separately. The process tree in the
// human-readable status output may temporarily contain only the process
// name while the service is starting.
runCmd(t, &cmd{
Cmd: "systemctl",
Args: []string{"show", "--property=ExecStart", "--value", "snclient"},
Like: []string{`/usr/bin/snclient`},
})

// add custom .ini with correct ownership for snclient user
Expand Down