mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
serve restic: script for running integration test against all remotes
This commit is contained in:
parent
26fbd00b4f
commit
1afac32d80
35
cmd/serve/restic/restic-test.sh
Executable file
35
cmd/serve/restic/restic-test.sh
Executable file
@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Test all the remotes against restic integration test
|
||||
# Run with: screen -S restic-test -L ./restic-test.sh
|
||||
|
||||
remotes="
|
||||
TestAzureBlob:
|
||||
TestB2:
|
||||
TestBox:
|
||||
TestCache:
|
||||
TestCryptDrive:
|
||||
TestCryptSwift:
|
||||
TestDrive:
|
||||
TestDropbox:
|
||||
TestFTP:
|
||||
TestGoogleCloudStorage:
|
||||
TestHubic:
|
||||
TestOneDrive:
|
||||
TestPcloud:
|
||||
TestQingStor:
|
||||
TestS3:
|
||||
TestSftp:
|
||||
TestSwift:
|
||||
TestWebdav:
|
||||
TestYandex:
|
||||
"
|
||||
|
||||
# TestOss:
|
||||
# TestMega:
|
||||
|
||||
for remote in $remotes; do
|
||||
echo `date -Is` $remote starting
|
||||
go test -remote $remote -v -timeout 30m 2>&1 | tee restic-test.$remote.log
|
||||
echo `date -Is` $remote ending
|
||||
done
|
Loading…
Reference in New Issue
Block a user