Rearrange fixtures to match "real" proc and sys.
And add some missing fixtures for default collectors, even if they're not read by tests yet.
This commit is contained in:
parent
85eb47197f
commit
788ac9a859
35 changed files with 72 additions and 13 deletions
|
|
@ -18,7 +18,7 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
var fileName = "fixtures/netstat"
|
||||
var fileName = "fixtures/proc/net/netstat"
|
||||
|
||||
func TestNetStats(t *testing.T) {
|
||||
file, err := os.Open(fileName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue