mirror of
https://github.com/octoleo/restic.git
synced 2024-11-30 08:44:02 +00:00
b434f560cc
Add two new test cases, TestBackendAzureAccountToken and TestBackendAzureContainerToken, that ensure that the authorization using both types of token works. This introduces two new environment variables, RESTIC_TEST_AZURE_ACCOUNT_SAS and RESTIC_TEST_AZURE_CONTAINER_SAS, that contain the tokens to use when testing restic. If an environment variable is missing, the related test is skipped. |
||
---|---|---|
.. | ||
azure_test.go | ||
azure.go | ||
config_test.go | ||
config.go |