Make different threads use different FILE*'s
[wimlib] / tests / test-imagex
index fcbf5406fb2b4a2cc4eb5fcb3726d033db5da233..2601d876d49cb01efbbf760e74088074c5fd1f41 100755 (executable)
@@ -19,7 +19,8 @@ imagex_info() {
 }
 
 cleanup() {
-       rm -rf dir* tmp* *.wim *.swm
+       fusermount -u tmp &> /dev/null || true
+       rm -rf dir* tmp* *.wim *.swm &> /dev/null || true
 }
 cleanup