1
mirror of https://github.com/rclone/rclone synced 2024-11-10 08:08:35 +01:00
rclone/cmd/serve/restic/restic-test.sh

36 lines
580 B
Bash
Executable File

#!/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