]> Cypherpunks repositories - gostls13.git/commit
syscall: make TestFcntlFlock more robust
authorMostyn Bramley-Moore <mostyn@antipode.se>
Mon, 17 Apr 2017 19:32:21 +0000 (21:32 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 17 Apr 2017 20:08:25 +0000 (20:08 +0000)
commit16db1892d32bffdcc636665ba0325142b3c7ad72
treec467b1ee59489167ed03895310f4a42f35b0fdef
parent69182885d9bbb6329be0583ab190521d0d1fc6da
syscall: make TestFcntlFlock more robust

Avoid the use of constant absolute temp files in tests.  This could
produce flaky results, for example on multiuser development machines.

Change-Id: Ia76157a0660fbe294bb31a46ded886cea5deec97
Reviewed-on: https://go-review.googlesource.com/40916
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/syscall/syscall_unix_test.go