summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-06-16 14:15:44 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-17 12:52:33 +0000
commitd32665a77c1ede843ef4bb088a13f4d1250b71f5 (patch)
treef04ea0b29c5a3fd6fd5e7ce4008631862cbfdbfa
parentnixosTests.kexec: reconnect properly after 2nd kexec (diff)
downloadnixpkgs-origin/backport-233035-to-release-23.05.tar.gz
nixosTests.kexec: do not use module argument `config`origin/backport-233035-to-release-23.05
It is deprecated now. (cherry picked from commit 627a8838fa728e0f2bbe1c9fbe9b19e49e9cefc9)
-rw-r--r--nixos/tests/kexec.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/kexec.nix b/nixos/tests/kexec.nix
index 5c0f0b60c853..4d1be497b8ba 100644
--- a/nixos/tests/kexec.nix
+++ b/nixos/tests/kexec.nix
@@ -37,7 +37,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
# Kexec node1 to the toplevel of node2 via the kexec-boot script
node1.succeed('touch /run/foo')
node1.fail('hello')
- node1.execute('${nodes.node2.config.system.build.kexecTree}/kexec-boot', check_output=False)
+ node1.execute('${nodes.node2.system.build.kexecTree}/kexec-boot', check_output=False)
node1.connected = False
node1.connect()
node1.wait_for_unit("multi-user.target")