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.
This commit is contained in:
Josh Robson Chase 2021-09-30 10:33:34 -04:00
parent 0dafb4f523
commit f275d82a2f
No known key found for this signature in database
GPG Key ID: 32A347137755554F

@ -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
'';
};
}