diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-09-19 17:03:21 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-09-19 17:03:21 +0200 |
commit | c6953d1ff62fb6dc4fbd89c03e7949c552c19382 (patch) | |
tree | 50829acf1e81d602896ef9f30d671425bcb145c7 /tests/nixos | |
parent | 126e2645f2a060197655f9a699ffa4dc3a464bdd (diff) |
Disable systemd-nspawn test
This is broken because of a change in systemd in NixOS 23.05. It fails
with
Failed to mount proc (type proc) on /proc (MS_NOSUID|MS_NODEV|MS_NOEXEC ""): Operation not permitted
Diffstat (limited to 'tests/nixos')
-rw-r--r-- | tests/nixos/containers/containers.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nixos/containers/containers.nix b/tests/nixos/containers/containers.nix index c8ee78a4a..e721be48f 100644 --- a/tests/nixos/containers/containers.nix +++ b/tests/nixos/containers/containers.nix @@ -56,8 +56,8 @@ host.fail("nix build -v --auto-allocate-uids --no-sandbox -L --offline --impure --file ${./id-test.nix} --argstr name id-test-6 --arg uidRange true") # Run systemd-nspawn in a Nix build. - host.succeed("nix build -v --auto-allocate-uids --sandbox -L --offline --impure --file ${./systemd-nspawn.nix} --argstr nixpkgs ${nixpkgs}") - host.succeed("[[ $(cat ./result/msg) = 'Hello World' ]]") + #host.succeed("nix build -v --auto-allocate-uids --sandbox -L --offline --impure --file ${./systemd-nspawn.nix} --argstr nixpkgs ${nixpkgs}") + #host.succeed("[[ $(cat ./result/msg) = 'Hello World' ]]") ''; } |