aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm.nix')
-rw-r--r--tests/vm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm.nix b/tests/vm.nix
index 5eb4dbb..014897a 100644
--- a/tests/vm.nix
+++ b/tests/vm.nix
@@ -152,7 +152,7 @@ in pkgs.testers.runNixOSTest {
for i, phase in enumerate(scenario["phases"]):
# A hang fails the scenario, not the whole test.
status, out = deployer.execute(
- f"HOME=/root timeout 600 {phase['populate']} 2>&1",
+ f"env HOME=/root {phase['env']} timeout 600 {phase['populate']} 2>&1",
timeout=900,
)
if phase["expect"] is None: