mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
operations: ignore partial tests on backends which don't support them
This commit is contained in:
parent
6244d1729b
commit
f489b54fa0
@ -1233,6 +1233,10 @@ func TestCopyInplace(t *testing.T) {
|
||||
ctx, ci := fs.AddConfig(ctx)
|
||||
r := fstest.NewRun(t)
|
||||
|
||||
if !r.Fremote.Features().PartialUploads {
|
||||
t.Skip("Partial uploads not supported")
|
||||
}
|
||||
|
||||
ci.Inplace = true
|
||||
|
||||
file1 := r.WriteFile("file1", "file1 contents", t1)
|
||||
@ -1262,6 +1266,10 @@ func TestCopyLongFileName(t *testing.T) {
|
||||
ctx, ci := fs.AddConfig(ctx)
|
||||
r := fstest.NewRun(t)
|
||||
|
||||
if !r.Fremote.Features().PartialUploads {
|
||||
t.Skip("Partial uploads not supported")
|
||||
}
|
||||
|
||||
ci.Inplace = false // the default
|
||||
|
||||
file1 := r.WriteFile("file1", "file1 contents", t1)
|
||||
|
Loading…
Reference in New Issue
Block a user