test.sh: Unmount and wait for torrentfs to return after completion

This commit is contained in:
Matt Joiner 2017-09-18 12:17:28 +10:00
parent c85aac6383
commit c93f5d3038
1 changed files with 2 additions and 0 deletions

View File

@ -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