diff options
author | Jakob Unterwurzacher | 2016-07-11 20:40:53 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-07-11 20:41:53 +0200 |
commit | df17f1d702bea709228b9923a8ed2fc19005ba43 (patch) | |
tree | beedbd8f26f8f4264558c86e8ecd699238062287 /tests/test_helpers | |
parent | 1c54fcd04bbf274dd5d4300e433bdcb1bb32e1ce (diff) |
tests: add verbose output when unmounting
Diffstat (limited to 'tests/test_helpers')
-rw-r--r-- | tests/test_helpers/helpers.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index b42adcd..bad5675 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -49,6 +49,9 @@ func ResetTmpDir(plaintextNames bool) { d := filepath.Join(TmpDir, e.Name()) err = os.Remove(d) if err != nil { + if testing.Verbose() { + fmt.Printf("%v, trying umount\n", d, err) + } UnmountErr(d) err = os.RemoveAll(d) if err != nil { |