mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
docker-edge: Fix test
This commit is contained in:
parent
d699505277
commit
c851af868f
|
@ -43,7 +43,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||
docker.fail("sudo -u noprivs docker ps")
|
||||
docker.succeed("docker stop sleeping")
|
||||
|
||||
# Must match version twice to ensure client and server versions are correct
|
||||
docker.succeed('[ $(docker version | grep ${pkgs.docker-edge.version} | wc -l) = "2" ]')
|
||||
# Must match version 4 times to ensure client and server git commits and versions are correct
|
||||
docker.succeed('[ $(docker version | grep ${pkgs.docker-edge.version} | wc -l) = "4" ]')
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue