Commit 9410c857 authored by rewine's avatar rewine
Browse files

nixosTests.yabar: drop

parent c19c69c2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1508,7 +1508,6 @@ in
  xss-lock = runTest ./xss-lock.nix;
  xterm = runTest ./xterm.nix;
  xxh = runTest ./xxh.nix;
  yabar = runTest ./yabar.nix;
  yarr = runTest ./yarr.nix;
  ydotool = handleTest ./ydotool.nix { };
  yggdrasil = runTest ./yggdrasil.nix;

nixos/tests/yabar.nix

deleted100644 → 0
+0 −30
Original line number Diff line number Diff line
{
  name = "yabar";
  meta.maintainers = [ ];

  nodes.machine = {
    imports = [
      ./common/x11.nix
      ./common/user-account.nix
    ];

    test-support.displayManager.auto.user = "bob";

    programs.yabar.enable = true;
    programs.yabar.bars = {
      top.indicators.date.exec = "YABAR_DATE";
    };
  };

  testScript = ''
    machine.start()
    machine.wait_for_x()

    # confirm proper startup
    machine.wait_for_unit("yabar.service", "bob")
    machine.sleep(10)
    machine.wait_for_unit("yabar.service", "bob")

    machine.screenshot("top_bar")
  '';
}