diff options
author | Andreas Rammhold | 2020-10-24 22:17:32 +0200 |
---|---|---|
committer | Andreas Rammhold | 2020-10-25 20:09:33 +0100 |
commit | 73635b859d75a0789623969adef9e46cc4b34e23 (patch) | |
tree | 67fef216dbb233fcaff530d0f3dd47f37d15471a /nixos/lib | |
parent | fa25d84d1330ee66e9df41d4e5dd8e85d8b506a0 (diff) |
nixos/tests: fix runInMachine
In 5500dc8 we introduced the --keep-vm-state flag and defaulted to that flag not being set. This lead to the `runInMachine` tests not longer working and that going unnoticed for quite some time now.
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/testing-python.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix index d78193c26000..8dad4d535162 100644 --- a/nixos/lib/testing-python.nix +++ b/nixos/lib/testing-python.nix @@ -255,7 +255,7 @@ rec { unset xchg export tests='${testScript}' - ${mkTestDriver qemu}/bin/nixos-test-driver ${vm.config.system.build.vm}/bin/run-*-vm + ${mkTestDriver qemu}/bin/nixos-test-driver --keep-vm-state ${vm.config.system.build.vm}/bin/run-*-vm ''; # */ in |