Skip to content

Commit

Permalink
test: Allow missing /tmp/.X5-lock files
Browse files Browse the repository at this point in the history
This was overzealous in commit 0f686e1.
  • Loading branch information
martinpitt committed Nov 24, 2022
1 parent 037ec50 commit a2953b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test-umockdev-run.vala
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,8 @@ t_input_touchpad ()
checked_remove (logfile);
checked_remove (logfile + ".old");
// clean up lockfile after killed X server
checked_remove ("/tmp/.X5-lock");
if (FileUtils.remove ("/tmp/.X5-lock") < 0)
debug("failed to clean up /tmp/.X5-lock: %m");
checked_remove ("/tmp/.X11-unix/X5");

assert_cmpstr (xinput_err, CompareOperator.EQ, "");
Expand Down

0 comments on commit a2953b1

Please sign in to comment.