]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Improve fs/unwedge tests
authorMatt Joiner <anacrolix@gmail.com>
Wed, 3 Dec 2014 18:52:08 +0000 (12:52 -0600)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 3 Dec 2014 18:52:08 +0000 (12:52 -0600)
fs/unwedge-tests

index 692c8fbefc946c5a2715dab0516d9ff21ce028a5..69dacc89ea97e2aed172062352b56795a05ab3f1 100755 (executable)
@@ -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