added metrics

Change-Id: I7727bd43911339f48e2d096f8bb43729eb65b3ad
This commit is contained in:
sm
2016-06-25 13:41:20 -07:00
parent 1a056c1aff
commit aa1ef99295
156 changed files with 44136 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package procfs
import "testing"
func TestNewFS(t *testing.T) {
if _, err := NewFS("foobar"); err == nil {
t.Error("want NewFS to fail for non-existing mount point")
}
if _, err := NewFS("procfs.go"); err == nil {
t.Error("want NewFS to fail if mount point is not a directory")
}
}