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
2025-10-21 18:56:06 +01:00

20 lines
456 B
Go

//go:build !linux && !darwin && !freebsd && !windows
package vfstest
import (
"errors"
"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)
}