summaryrefslogtreecommitdiff
path: root/tests/matrix/concurrency_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/matrix/concurrency_test.go')
-rw-r--r--tests/matrix/concurrency_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/matrix/concurrency_test.go b/tests/matrix/concurrency_test.go
index d133c45..d824316 100644
--- a/tests/matrix/concurrency_test.go
+++ b/tests/matrix/concurrency_test.go
@@ -144,7 +144,7 @@ func TestInoReuse(t *testing.T) {
wg.Add(1)
go func() {
for i := 0; i < 1000; i++ {
- fd, err := syscall.Creat(fn, 0600)
+ fd, err := syscall.Open(fn, syscall.O_CREAT|syscall.O_WRONLY|syscall.O_TRUNC, 0600)
if err == syscall.EISDIR {
continue
}