From 7aff3ead3afaa7461e0054fbef23fb571b4add0a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 7 Feb 2025 22:29:56 +0900 Subject: [PATCH] nix: vm test remove unnecessary setup This step is no longer required as the NixOS module is responsible for home directory creation. Signed-off-by: Ophestra --- test.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/test.nix b/test.nix index 8b1f0bf..85c4da9 100644 --- a/test.nix +++ b/test.nix @@ -248,9 +248,6 @@ nixosTest { # Deny unmapped uid: print(machine.fail("sudo -u untrusted -i ${self.packages.${system}.fortify}/bin/fortify -v run")) - # Create fortify uid 0 state directory: - machine.succeed("install -dm 0755 -o u0_a0 -g users /var/lib/fortify/u0") - # Start fortify permissive defaults outside Wayland session: print(machine.succeed("sudo -u alice -i fortify -v run -a 0 touch /tmp/success-bare")) machine.wait_for_file("/tmp/fortify.1000/tmpdir/0/success-bare")