From: Matt Joiner Date: Wed, 3 Dec 2014 18:52:08 +0000 (-0600) Subject: Improve fs/unwedge tests X-Git-Tag: v1.0.0~1423 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3f44ed8c433de47e65d6af5ff8685fc8b6ca39b1;p=btrtrc.git Improve fs/unwedge tests --- diff --git a/fs/unwedge-tests b/fs/unwedge-tests index 692c8fbe..69dacc89 100755 --- a/fs/unwedge-tests +++ b/fs/unwedge-tests @@ -1 +1,5 @@ -for a in /tmp/torrentfs*; do sudo umount -f "$a/mnt"; done \ No newline at end of file +shopt -s nullglob +for a in /tmp/torrentfs*; do + sudo umount -f "$a/mnt" + rm -r -- "$a" +done \ No newline at end of file