2017-05-19 14:46:13 +00:00
|
|
|
// +build cmount
|
2017-05-02 21:36:11 +00:00
|
|
|
// +build cgo
|
|
|
|
// +build linux darwin freebsd windows
|
2017-11-19 14:18:57 +00:00
|
|
|
// +build !race !windows
|
|
|
|
|
|
|
|
// FIXME this doesn't work with the race detector under Windows either
|
|
|
|
// hanging or producing lots of differences.
|
2017-05-02 21:36:11 +00:00
|
|
|
|
|
|
|
package cmount
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/ncw/rclone/cmd/mountlib/mounttest"
|
|
|
|
)
|
|
|
|
|
2017-06-19 12:44:49 +00:00
|
|
|
func TestMain(m *testing.M) { mounttest.TestMain(m, mount) }
|
2017-05-07 12:04:20 +00:00
|
|
|
func TestDirLs(t *testing.T) { mounttest.TestDirLs(t) }
|
2017-11-18 12:05:17 +00:00
|
|
|
func TestDirCreateAndRemoveDir(t *testing.T) { mounttest.TestDirCreateAndRemoveDir(t) }
|
|
|
|
func TestDirCreateAndRemoveFile(t *testing.T) { mounttest.TestDirCreateAndRemoveFile(t) }
|
|
|
|
func TestDirRenameFile(t *testing.T) { mounttest.TestDirRenameFile(t) }
|
|
|
|
func TestDirRenameEmptyDir(t *testing.T) { mounttest.TestDirRenameEmptyDir(t) }
|
|
|
|
func TestDirRenameFullDir(t *testing.T) { mounttest.TestDirRenameFullDir(t) }
|
|
|
|
func TestDirModTime(t *testing.T) { mounttest.TestDirModTime(t) }
|
|
|
|
func TestDirCacheFlush(t *testing.T) { mounttest.TestDirCacheFlush(t) }
|
|
|
|
func TestDirCacheFlushOnDirRename(t *testing.T) { mounttest.TestDirCacheFlushOnDirRename(t) }
|
|
|
|
func TestFileModTime(t *testing.T) { mounttest.TestFileModTime(t) }
|
2018-03-08 18:08:12 +00:00
|
|
|
func TestFileModTimeWithOpenWriters(t *testing.T) { mounttest.TestFileModTimeWithOpenWriters(t) }
|
2017-11-18 12:05:17 +00:00
|
|
|
func TestMount(t *testing.T) { mounttest.TestMount(t) }
|
|
|
|
func TestRoot(t *testing.T) { mounttest.TestRoot(t) }
|
|
|
|
func TestReadByByte(t *testing.T) { mounttest.TestReadByByte(t) }
|
|
|
|
func TestReadChecksum(t *testing.T) { mounttest.TestReadChecksum(t) }
|
|
|
|
func TestReadFileDoubleClose(t *testing.T) { mounttest.TestReadFileDoubleClose(t) }
|
|
|
|
func TestReadSeek(t *testing.T) { mounttest.TestReadSeek(t) }
|
|
|
|
func TestWriteFileNoWrite(t *testing.T) { mounttest.TestWriteFileNoWrite(t) }
|
|
|
|
func TestWriteFileWrite(t *testing.T) { mounttest.TestWriteFileWrite(t) }
|
|
|
|
func TestWriteFileOverwrite(t *testing.T) { mounttest.TestWriteFileOverwrite(t) }
|
|
|
|
func TestWriteFileDoubleClose(t *testing.T) { mounttest.TestWriteFileDoubleClose(t) }
|
|
|
|
func TestWriteFileFsync(t *testing.T) { mounttest.TestWriteFileFsync(t) }
|