github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/cmd/serve/restic/restic-test.sh (about)

     1  #!/bin/bash
     2  #
     3  # Test all the remotes against restic integration test
     4  # Run with: screen -S restic-test -L ./restic-test.sh
     5  
     6  remotes="
     7  TestAzureBlob:
     8  TestB2:
     9  TestBox:
    10  TestCache:
    11  TestCryptDrive:
    12  TestCryptSwift:
    13  TestDrive:
    14  TestDropbox:
    15  TestFichier:
    16  TestFTP:
    17  TestGoogleCloudStorage:
    18  TestHubic:
    19  TestOneDrive:
    20  TestPcloud:
    21  TestQingStor:
    22  TestS3:
    23  TestSftp:
    24  TestSwift:
    25  TestWebdav:
    26  TestYandex:
    27  "
    28  
    29  # TestOss:
    30  # TestMega:
    31  
    32  for remote in $remotes; do
    33      echo `date -Is` $remote starting
    34      go test -remote $remote -v -timeout 30m 2>&1 | tee restic-test.$remote.log
    35      echo `date -Is` $remote ending
    36  done