2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-27 07:16:40 +00:00
restic/internal
Connor Findlay 9553d873ff backend/azure: Add tests for both token types
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.
2024-10-18 21:59:03 +02:00
..
archiver backup: exclude irregular files from backup 2024-10-18 21:56:41 +02:00
backend backend/azure: Add tests for both token types 2024-10-18 21:59:03 +02:00
bloblru Fix typos 2024-07-03 20:02:06 +02:00
checker Revert "repository: removed redundant prepareCache method from Repository" 2024-08-30 12:43:13 +02:00
crypto crypto: cleanup ciphertext verification error 2024-06-05 22:33:20 +02:00
debug Fix review comments 2024-04-29 16:21:38 -06:00
dump dump: add GetOrCompute to bloblru cache 2024-05-05 11:38:42 +02:00
errors Add changelog and fix lint error 2024-02-24 13:47:49 -07:00
feature s3: forbid anonymous authentication unless explicitly requested 2024-07-10 20:10:27 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs fs: retry preallocate on Linux if interrupted by signal 2024-10-18 21:47:59 +02:00
fuse Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
migrations remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
repository cache: remove redundant index file cleanup 2024-08-30 12:43:13 +02:00
restic fs: Include filename in mknod errors 2024-10-18 21:53:15 +02:00
restorer Fix typos 2024-08-30 12:37:10 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui json: switch backup and restore errors from string to struct types 2024-08-03 16:21:44 -04:00
walker Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00