snapd icon indicating copy to clipboard operation
snapd copied to clipboard

tests: do not use /etc/timezone

Open valentindavid opened this issue 1 year ago • 3 comments

/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.

valentindavid avatar Apr 11 '24 11:04 valentindavid

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.

valentindavid avatar Apr 11 '24 13:04 valentindavid

It seems tests are failing with timedatectl: invalid option -- 'p', which is first supported with version 239.

Meulengracht avatar Apr 15 '24 07:04 Meulengracht

@valentindavid there are conflicts now

Meulengracht avatar Apr 22 '24 12:04 Meulengracht