diff options
author | Florian Klink <flokli@flokli.de> | 2021-11-06 12:24:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 12:24:32 +0100 |
commit | 6ae271565dd609b05f85f3830d2257808b0f916e (patch) | |
tree | a0d769cc0886fa7b99f434b188ab4c88e5689608 /nixos/tests/systemd-boot.nix | |
parent | 6c187500e2b3345daffa876b6b4d5a0b4d754f71 (diff) | |
parent | 3efc2de6d1c001b55daafa60f605255e31d676ea (diff) | |
download | nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.tar nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.tar.gz nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.tar.bz2 nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.tar.lz nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.tar.xz nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.tar.zst nixpkgs-6ae271565dd609b05f85f3830d2257808b0f916e.zip |
Merge pull request #140046 from jrobsonchase/systemd-boot/fix-regexp
nixos/systemd-boot: Fix installed version regexp
Diffstat (limited to 'nixos/tests/systemd-boot.nix')
-rw-r--r-- | nixos/tests/systemd-boot.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/systemd-boot.nix b/nixos/tests/systemd-boot.nix index ae3727afaf6..8c9d3d19f2a 100644 --- a/nixos/tests/systemd-boot.nix +++ b/nixos/tests/systemd-boot.nix @@ -102,12 +102,12 @@ in machine.succeed( """ find /boot -iname '*.efi' -print0 | \ - xargs -0 -I '{}' sed -i 's/#### LoaderInfo: systemd-boot .* ####/#### LoaderInfo: systemd-boot 001 ####/' '{}' + xargs -0 -I '{}' sed -i 's/#### LoaderInfo: systemd-boot .* ####/#### LoaderInfo: systemd-boot 000.0-1-notnixos ####/' '{}' """ ) output = machine.succeed("/run/current-system/bin/switch-to-configuration boot") - assert "updating systemd-boot from 001 to " in output + assert "updating systemd-boot from (000.0-1-notnixos) to " in output ''; }; } |