fix: update test to use newest qbit version

This commit is contained in:
coffeeneed 2026-03-15 15:46:23 +01:00
parent 5a588ade4f
commit 8112984455

View file

@ -2,7 +2,7 @@ test:
go test ./... -count=1 --cover
torrent-test:
go run main.go -c qbit-4.3.3 -t bencode/torrent_files_test/debian-12.0.0-amd64-DVD-1.iso.torrent -d 0% -ds 100kbps -u 0% -us 100kbps
go run main.go -c qbit-5.1.4 -t bencode/torrent_files_test/debian-12.0.0-amd64-DVD-1.iso.torrent -d 0% -ds 100kbps -u 0% -us 100kbps
release:
@if test -z "$(rsversion)"; then echo "usage: make release rsversion=v1.2"; exit 1; fi
@ -12,4 +12,4 @@ release:
env GOOS=linux GOARCH=amd64 go build -v -o ./out/linux/ratio-spoof .
env GOOS=windows GOARCH=amd64 go build -v -o ./out/windows/ratio-spoof.exe .
cd out/ ; zip ratio-spoof-$(rsversion)\(linux-mac-windows\).zip -r .
cd out/ ; zip ratio-spoof-$(rsversion)\(linux-mac-windows\).zip -r .