From f275d82a2fa655e69fd9775b7e183f688ef11979 Mon Sep 17 00:00:00 2001 From: Josh Robson Chase Date: Thu, 30 Sep 2021 10:33:34 -0400 Subject: [PATCH] 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. --- nixos/tests/systemd-boot.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/systemd-boot.nix b/nixos/tests/systemd-boot.nix index 3c93cb82d646..efcbf71c597b 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 ''; }; }