Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fstest/test_all: make sure Version is correct in build

Nick Craig-Wood25d0e59ef8c4
diff --git a/Makefile b/Makefile
index d1576a301..4e515ab31 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ version:
# Full suite of integration tests
test: rclone
- go install github.com/ncw/rclone/fstest/test_all
+ go install --ldflags "-s -X github.com/ncw/rclone/fs.Version=$(TAG)" $(BUILDTAGS) github.com/ncw/rclone/fstest/test_all
-test_all 2>&1 | tee test_all.log
@echo "Written logs in test_all.log"