const quiescent … const probablyStillBlocked … func mustBlock(t *testing.T, desc string, f func()) (wait func(*testing.T)) { … } func TestMutexExcludes(t *testing.T) { … } func TestReadWaitsForLock(t *testing.T) { … } func TestCanLockExistingFile(t *testing.T) { … } // TestSpuriousEDEADLK verifies that the spurious EDEADLK reported in // https://golang.org/issue/32817 no longer occurs. func TestSpuriousEDEADLK(t *testing.T) { … }