aboutsummaryrefslogtreecommitdiff
path: root/filesystem/mountpoint_test.go
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2017-07-18 10:59:40 -0700
committerGitHub <noreply@github.com>2017-07-18 10:59:40 -0700
commit8867856db45abaed8b9e2539ee7c34d99360db56 (patch)
tree5895bce36a9dff465057d84819b0d65255e1c702 /filesystem/mountpoint_test.go
parent3d08d9f6891db3ca94337e9b987ef62cba535fe1 (diff)
parent17f7dd867d0fd450377c6862c0782483d39ae408 (diff)
Merge pull request #22 from google/fix
Fixing fscrypt build system
Diffstat (limited to 'filesystem/mountpoint_test.go')
-rw-r--r--filesystem/mountpoint_test.go22
1 files changed, 0 insertions, 22 deletions
diff --git a/filesystem/mountpoint_test.go b/filesystem/mountpoint_test.go
index 5d53dc1..73904a2 100644
--- a/filesystem/mountpoint_test.go
+++ b/filesystem/mountpoint_test.go
@@ -20,37 +20,15 @@
package filesystem
import (
- "fmt"
"testing"
)
-func printMountInfo() {
- fmt.Println("\nBy Mountpoint:")
- for _, mnt := range mountsByPath {
- fmt.Println(mnt)
- }
-
- fmt.Println("\nBy Device:")
- for device, mnts := range mountsByDevice {
- fmt.Println("\t" + device)
- for _, mnt := range mnts {
- fmt.Println("\t\tPath: " + mnt.Path)
- }
- }
-}
-
func TestLoadMountInfo(t *testing.T) {
if err := UpdateMountInfo(); err != nil {
t.Error(err)
}
}
-func TestPrintMountInfo(t *testing.T) {
- // Uncomment to see the mount info in the tests
- // printMountInfo()
- // t.Fail()
-}
-
// Benchmarks how long it takes to update the mountpoint data
func BenchmarkLoadFirst(b *testing.B) {
for n := 0; n < b.N; n++ {