mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
25bef2d8f9
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
20 lines
464 B
Nix
20 lines
464 B
Nix
# This test runs CRI-O and verifies via critest
|
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "cri-o";
|
|
maintainers = with pkgs.lib.maintainers; teams.podman.members;
|
|
|
|
nodes = {
|
|
crio = {
|
|
virtualisation.cri-o.enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
crio.wait_for_unit("crio.service")
|
|
crio.succeed(
|
|
"critest --ginkgo.focus='Runtime info' --runtime-endpoint unix:///var/run/crio/crio.sock"
|
|
)
|
|
'';
|
|
})
|