1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00
Files
rclone/vfs/vfstest/write_other.go
2020-09-01 13:49:53 +01:00

21 lines
449 B
Go

// +build !linux,!darwin,!freebsd,!openbsd,!windows
package vfstest
import (
"runtime"
"testing"
"github.com/rclone/rclone/vfs"
)
// TestWriteFileDoubleClose tests double close on write
func TestWriteFileDoubleClose(t *testing.T) {
t.Skip("not supported on " + runtime.GOOS)
}
// writeTestDup performs the platform-specific implementation of the dup() syscall
func writeTestDup(oldfd uintptr) (uintptr, error) {
return oldfd, vfs.ENOSYS
}