Skip to content

Commit

Permalink
kexec-installer: test with dash
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed Dec 24, 2024
1 parent 2220c4d commit 0a157d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/kexec-installer/test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ pkgs.testers.runNixOSTest {
node1.succeed('tar -xf ${kexecTarball}/nixos-kexec-installer-noninteractive-${pkgs.system}.tar.gz -C /root')
node1.succeed('/root/kexec/ip -V >&2')
node1.succeed('/root/kexec/kexec --version >&2')
node1.succeed('/root/kexec/run >&2')
# test with dash here to make sure we don't introduce bashisms
node1.succeed('${pkgs.dash}/bin/dash /root/kexec/run >&2')
# wait for kexec to finish
while ssh(["true"], check=False).returncode == 0:
Expand Down

0 comments on commit 0a157d0

Please sign in to comment.