"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
cmd/gitannex: Drop chdir from e2e tests
Dan McArdlead605ee35643
diff --git a/cmd/gitannex/e2e_test.go b/cmd/gitannex/e2e_test.goindex eda888c6b..a9087ae34 100644--- a/cmd/gitannex/e2e_test.go+++ b/cmd/gitannex/e2e_test.go@@ -225,13 +225,6 @@ func TestEndToEnd(t *testing.T) {t.Run(string(mode), func(t *testing.T) {t.Parallel()- // Create a temp directory and chdir there, just in case.- originalWd, err := os.Getwd()- require.NoError(t, err)- tempDir := t.TempDir()- require.NoError(t, os.Chdir(tempDir))- t.Cleanup(func() { require.NoError(t, os.Chdir(originalWd)) })-testingContext := makeE2eTestingContext(t)testingContext.installRcloneGitannexSymlink(t)testingContext.installRcloneConfig(t)@@ -261,13 +254,6 @@ func TestEndToEndRepoLayoutCompat(t *testing.T) {t.Run(string(mode), func(t *testing.T) {t.Parallel()- // Create a temp directory and chdir there, just in case.- originalWd, err := os.Getwd()- require.NoError(t, err)- tempDir := t.TempDir()- require.NoError(t, os.Chdir(tempDir))- defer func() { require.NoError(t, os.Chdir(originalWd)) }()-tc := makeE2eTestingContext(t)tc.installRcloneGitannexSymlink(t)tc.installRcloneConfig(t)