]> Sergey Matveev's repositories - btrtrc.git/commitdiff
fs: Add a test script
authorMatt Joiner <anacrolix@gmail.com>
Sat, 26 Aug 2017 03:25:27 +0000 (13:25 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 26 Aug 2017 03:25:27 +0000 (13:25 +1000)
fs/test.sh [new file with mode: 0755]

diff --git a/fs/test.sh b/fs/test.sh
new file mode 100755 (executable)
index 0000000..5171204
--- /dev/null
@@ -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