rclone/vfs/vfstest/write_other.go

21 lines
499 B
Go
Raw Normal View History

//go:build !linux && !darwin && !freebsd && !windows
// +build !linux,!darwin,!freebsd,!windows
2017-05-10 18:19:32 +08:00
package vfstest
2017-05-10 18:19:32 +08:00
import (
"errors"
2017-05-10 18:19:32 +08:00
"runtime"
"testing"
)
// 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() unix
func writeTestDup(oldfd uintptr) (uintptr, error) {
return 0, errors.New("not supported on " + runtime.GOOS)
}