2024-04-18 09:36:22 +02:00
|
|
|
//go:build !linux && !darwin && !freebsd && !windows
|
|
|
|
// +build !linux,!darwin,!freebsd,!windows
|
2017-05-10 12:19:32 +02:00
|
|
|
|
2020-04-16 14:33:46 +02:00
|
|
|
package vfstest
|
2017-05-10 12:19:32 +02:00
|
|
|
|
|
|
|
import (
|
2024-04-18 09:36:22 +02:00
|
|
|
"errors"
|
2017-05-10 12:19:32 +02:00
|
|
|
"runtime"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TestWriteFileDoubleClose tests double close on write
|
|
|
|
func TestWriteFileDoubleClose(t *testing.T) {
|
|
|
|
t.Skip("not supported on " + runtime.GOOS)
|
|
|
|
}
|
2019-10-06 22:05:21 +02:00
|
|
|
|
2024-04-18 09:36:22 +02:00
|
|
|
// writeTestDup performs the platform-specific implementation of the dup() unix
|
2019-10-06 22:05:21 +02:00
|
|
|
func writeTestDup(oldfd uintptr) (uintptr, error) {
|
2024-04-18 09:36:22 +02:00
|
|
|
return 0, errors.New("not supported on " + runtime.GOOS)
|
2019-10-06 22:05:21 +02:00
|
|
|
}
|