Files
rclone/vfs/vfstest/mknod_other.go
Sandy LuppinoandNick Craig-Wood c1b5756eec vfs/vfstest: add Mknod test exercising all three mount backends
Mknod is now implemented by mount, mount2 and cmount, so exercise it from
the shared vfstest suite: create a regular file (S_IFREG) through the
mounted path and check it reads back as a 0-byte regular file. This is the
path the kernel NFS server drives when a client creates a file over an
exported mount.

Before this there was no shared coverage for Mknod; it now runs against
each backend via RunTests.

Suggested in #9548.

Signed-off-by: Sandy Luppino <s.luppino@opendrives.com>
2026-07-02 11:14:13 +01:00

14 lines
230 B
Go

//go:build !linux && !darwin && !freebsd && !openbsd
package vfstest
import (
"runtime"
"testing"
)
// TestMknod is not supported on this platform.
func TestMknod(t *testing.T) {
t.Skip("not supported on " + runtime.GOOS)
}