"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
selfupdate: fix crash in tests if beta not found
Nick Craig-Woodf98e672f377f
diff --git a/cmd/selfupdate/selfupdate_test.go b/cmd/selfupdate/selfupdate_test.goindex 92d1d91c7..032c28bec 100644--- a/cmd/selfupdate/selfupdate_test.go+++ b/cmd/selfupdate/selfupdate_test.go@@ -17,6 +17,7 @@ import (_ "github.com/rclone/rclone/fstest" // needed to run under integration tests"github.com/rclone/rclone/fstest/testy""github.com/stretchr/testify/assert"+ "github.com/stretchr/testify/require")func TestGetVersion(t *testing.T) {@@ -76,7 +77,7 @@ func TestInstallOnLinux(t *testing.T) {// Must keep non-standard permissionsassert.NoError(t, os.Chmod(path, 0644))- assert.NoError(t, InstallUpdate(ctx, &Options{Beta: true, Output: path}))+ require.NoError(t, InstallUpdate(ctx, &Options{Beta: true, Output: path}))info, err := os.Stat(path)assert.NoError(t, err)