rclone/cmd/serve/restic/restic-test.sh
Florian Klink aed77a8fb2 tree-wide: replace /bin/bash with /usr/bin/env bash
The latter is more portable, while the former only works on systems
where /bin/bash exists (or is symlinked appropriately).
2024-06-11 12:47:47 +01:00

37 lines
606 B
Bash
Executable File

#!/usr/bin/env 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:
TestFichier:
TestFTP:
TestGoogleCloudStorage:
TestNetStorage:
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