fs: Add a test script

This commit is contained in:
Matt Joiner 2017-08-26 13:25:27 +10:00
parent 625cca3b6f
commit eb32bb821a
1 changed files with 7 additions and 0 deletions

7
fs/test.sh Executable file
View File

@ -0,0 +1,7 @@
mkdir mnt torrents
GOPPROF=http godo github.com/anacrolix/torrent/cmd/torrentfs -mountDir mnt -torrentPath torrents &
cd torrents
wget http://releases.ubuntu.com/14.04.2/ubuntu-14.04.2-desktop-amd64.iso.torrent
cd ..
ls mnt
pv mnt/ubuntu-14.04.2-desktop-amd64.iso | md5sum