diff options
author | Jacek Galowicz <jacek@galowicz.de> | 2020-02-13 12:05:08 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-08-23 10:42:39 +0200 |
commit | 1e4f0e9db5a66a97901e05eb67da7ec3ba713945 (patch) | |
tree | 4f25a3b2929b3fa1b0ab94c2b207393599bf3605 /nixos | |
parent | 4555623f392b028383b99d2ea6aba1c43c908609 (diff) | |
download | nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.tar nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.tar.gz nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.tar.bz2 nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.tar.lz nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.tar.xz nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.tar.zst nixpkgs-1e4f0e9db5a66a97901e05eb67da7ec3ba713945.zip |
nixosTests.docker-preloader: Port to Python
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/docker-preloader.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/tests/docker-preloader.nix b/nixos/tests/docker-preloader.nix index c3e8aced351..acf7a3e8faa 100644 --- a/nixos/tests/docker-preloader.nix +++ b/nixos/tests/docker-preloader.nix @@ -1,4 +1,4 @@ -import ./make-test.nix ({ pkgs, ...} : { +import ./make-test-python.nix ({ pkgs, ...} : { name = "docker-preloader"; meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ lewo ]; @@ -18,10 +18,10 @@ import ./make-test.nix ({ pkgs, ...} : { }; }; testScript = '' - startAll; + start_all() - $docker->waitForUnit("sockets.target"); - $docker->succeed("docker run nix nix-store --version"); - $docker->succeed("docker run bash bash --version"); + docker.wait_for_unit("sockets.target") + docker.succeed("docker run nix nix-store --version") + docker.succeed("docker run bash bash --version") ''; }) |