Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 956820abc1de
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fd7a019c7079
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 30, 2019

  1. Copy the full SHA
    ab63902 View commit details

Commits on Jan 1, 2020

  1. nixosTests.haka: port to python (#76707)

    nixosTests.haka: port to python
    infinisil authored Jan 1, 2020
    Copy the full SHA
    fd7a019 View commit details
Showing with 5 additions and 5 deletions.
  1. +5 −5 nixos/tests/haka.nix
10 changes: 5 additions & 5 deletions nixos/tests/haka.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This test runs haka and probes it with hakactl

import ./make-test.nix ({ pkgs, ...} : {
import ./make-test-python.nix ({ pkgs, ...} : {
name = "haka";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ tvestelind ];
@@ -15,10 +15,10 @@ import ./make-test.nix ({ pkgs, ...} : {
};

testScript = ''
startAll;
start_all()
$haka->waitForUnit("haka.service");
$haka->succeed("hakactl status");
$haka->succeed("hakactl stop");
haka.wait_for_unit("haka.service")
haka.succeed("hakactl status")
haka.succeed("hakactl stop")
'';
})