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