• Jakob Unterwurzacher's avatar
    nodefs: add TestReadDirStress · 623db2fc
    Jakob Unterwurzacher authored
    This currently fails on Linux 5.0 and may be related to
    https://github.com/hanwen/go-fuse/issues/287 .
    
    1 jakob@brikett:~/go/src/github.com/hanwen/go-fuse/nodefs$ go test
    21:42:47.356529 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
    21:42:47.598309 writer: Write/Writev failed, err: 22=invalid argument. opcode: READDIRPLUS
    21:42:47.604424 writer: Write/Writev failed, err: 22=invalid argument. opcode: READDIRPLUS
    21:42:47.606073 writer: Write/Writev failed, err: 22=invalid argument. opcode: READDIRPLUS
    --- FAIL: TestReadDirStress (0.36s)
        simple_test.go:270: goroutine 2 iteration 5: readdirent: input/output error
        simple_test.go:270: goroutine 1 iteration 9: readdirent: input/output error
        simple_test.go:270: goroutine 3 iteration 10: readdirent: input/output error
        simple_test.go:43: /usr/bin/fusermount: entry for /tmp/TestReadDirStress639795934/mnt not found in /etc/mtab
             (code exit status 1)
    
    FAIL
    exit status 1
    FAIL	github.com/hanwen/go-fuse/nodefs	0.994s
    623db2fc
simple_test.go 8.1 KB