diff options
author | Josh Robson Chase <josh@robsonchase.com> | 2021-09-30 10:33:34 -0400 |
---|---|---|
committer | Josh Robson Chase <josh@robsonchase.com> | 2021-11-05 12:11:18 -0400 |
commit | f275d82a2fa655e69fd9775b7e183f688ef11979 (patch) | |
tree | 8d70e5f2453755cc47371b228b4c0c3bde068c64 /nixos/tests/systemd-boot.nix | |
parent | 0dafb4f523617614406c1a61b78ecfceb7086a99 (diff) |
nixos/systemd-boot: Update test for version regexp
This should fail since the regexp in systemd-boot-builder.py won't match the '.' in the version string.
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 3c93cb82d646d..efcbf71c597b8 100644 --- a/nixos/tests/systemd-boot.nix +++ b/nixos/tests/systemd-boot.nix @@ -79,12 +79,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 to " in output ''; }; } |