]> Sergey Matveev's repositories - btrtrc.git/commitdiff
test.sh: Unmount and wait for torrentfs to return after completion
authorMatt Joiner <anacrolix@gmail.com>
Mon, 18 Sep 2017 02:17:28 +0000 (12:17 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 18 Sep 2017 02:17:28 +0000 (12:17 +1000)
fs/test.sh

index 36abc1afaa87c5230a25c57a1959cc314f82385c..f6d367c22dd3a7e5ed471bb279ab995de835f735 100755 (executable)
@@ -10,3 +10,5 @@ file=debian-9.1.0-amd64-netinst.iso
 # file=sintel.mp4
 while [ ! -e "mnt/$file" ]; do sleep 1; done
 pv "mnt/$file" | md5sum
+umount mnt
+wait