]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: fix intermittency in the interrupt tests
authorAlan Somers <asomers@FreeBSD.org>
Fri, 10 May 2019 18:18:41 +0000 (18:18 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 10 May 2019 18:18:41 +0000 (18:18 +0000)
commita81776c270411dae47cbdcd1a8d3a5b003cf527e
treed95a2c70b9fe1a729022582e22669e9fd4ba94d0
parent99cf7bff46b54ab4085bfea19ac24a9086652637
fusefs: fix intermittency in the interrupt tests

* In the fatal_signal test, wait for the daemon to receive FUSE_INTERRUPT
  before exiting.
* Explicitly disable restarting syscalls after SIGUSR2.  This fixes
  intermittency in the priority test.  I don't know why, but sometimes that
  test's mkdir would be restarted, and sometimes it would return EINTR.
  ERESTART should be the default.
* Remove a useless copy/pasted sleep in the priority test.

Sponsored by: The FreeBSD Foundation
tests/sys/fs/fusefs/interrupt.cc