summaryrefslogtreecommitdiff
path: root/tests/systemd-user.Tests.ps1
blob: 63eabd962b201894e78090c6b3680580a9abd063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BeforeAll {
  . $PSScriptRoot/lib/lib.ps1
}

Describe "Systemd User Daemon" {
  BeforeAll {
    $distro = Install-Distro
  }

  It "should be possible to connect to the user daemon" {
    $distro.Launch("systemctl --user status --no-pager")
    $LASTEXITCODE | Should -Be 0
  }

  AfterAll {
    $distro.Uninstall()
  }
}