nixosTests.docker-rootless: migrate to runTestOn

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-02 14:49:24 +02:00
parent d175fc3af4
commit 852f3beab8
No known key found for this signature in database
GPG Key ID: EC0DE1CB9D5258B4
2 changed files with 42 additions and 45 deletions

View File

@ -370,7 +370,7 @@ in
dnsdist = import ./dnsdist.nix { inherit pkgs runTest; };
doas = runTest ./doas.nix;
docker = runTestOn [ "aarch64-linux" "x86_64-linux" ] ./docker.nix;
docker-rootless = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./docker-rootless.nix { };
docker-rootless = runTestOn [ "aarch64-linux" "x86_64-linux" ] ./docker-rootless.nix;
docker-registry = handleTest ./docker-registry.nix { };
docker-tools = handleTestOn [ "x86_64-linux" ] ./docker-tools.nix { };
docker-tools-nix-shell = runTest ./docker-tools-nix-shell.nix;

View File

@ -1,6 +1,4 @@
# This test runs docker and checks if simple container starts
import ./make-test-python.nix (
{ lib, pkgs, ... }:
{
name = "docker-rootless";
@ -48,4 +46,3 @@ import ./make-test-python.nix (
machine.succeed("${sudo} docker stop sleeping")
'';
}
)