Skip to content

test(linux): say why the kill test checks the keyfile - #3572

Merged
datlechin merged 1 commit into
mainfrom
test/linux-kill-comment
Oct 19, 2026
Merged

datlechin merged 1 commit into
mainfrom
test/linux-kill-comment

Conversation

@datlechin

Copy link
Copy Markdown
Member

Why

The comment above check_settings in kill_during_save.rs said a kill could tear the keyfile. GLib replaces an existing keyfile through a temporary file and a rename, so only a first write could tear.

Change

  • The comment now says why the test reads the keyfile: the keyfile backend writes from inside the app, unlike dconf's service, so the killed process wrote the file itself.

Verified

Comment only. CI runs rustfmt and the tests.

@datlechin
datlechin merged commit 65284de into main Oct 19, 2026
55 of 57 checks passed
@datlechin
datlechin deleted the test/linux-kill-comment branch October 19, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant