2024-05-24 12:01:58 +02:00
|
|
|
#!/usr/bin/env bash
|
2018-03-18 20:15:39 +01:00
|
|
|
#
|
|
|
|
# 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:
|
2019-06-26 20:39:01 +02:00
|
|
|
TestFichier:
|
2018-03-18 20:15:39 +01:00
|
|
|
TestFTP:
|
|
|
|
TestGoogleCloudStorage:
|
2021-10-15 00:01:46 +02:00
|
|
|
TestNetStorage:
|
2018-03-18 20:15:39 +01:00
|
|
|
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
|