Fixed a panic.

geesefs-0-30-9
Aaron Jacobs 2015-03-17 12:45:06 +11:00
parent 97dd87f56d
commit a1960e91a8
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ func (t *CachingFSTest) setUp(
}
func (t *CachingFSTest) TearDown() {
// Was the file system mounted?
if t.mfs == nil {
return
}
// Unmount the file system. Try again on "resource busy" errors.
delay := 10 * time.Millisecond
for {