mirror of
https://github.com/rclone/rclone
synced 2024-11-27 05:23:40 +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