snapd
snapd copied to clipboard
tests: do not use /etc/timezone
/etc/timezone is an old file that was only supported on Debian and Ubuntu but has been removed in 24.04 and upcoming Debian.
Whether /etc/timezone works or not is a problem for systemd. We do not have to test it.
Back then we wanted to make sure the setting is not ephemeral, and after reboot you still have the timezone set correctly. Having said that this looks good to merge.
I think I have changed the tests to still correctly verify the timezone. Just not with /etc/timezone. Or I misunderstood you.
It seems tests are failing with timedatectl: invalid option -- 'p', which is first supported with version 239.
@valentindavid there are conflicts now