//
// arvados-server crunchstat -dump ./testdata/example1234 sleep 2
var testdata = map[string]testdatasource{
//
// arvados-server crunchstat -dump ./testdata/example1234 sleep 2
var testdata = map[string]testdatasource{
"debian11": {fspath: "testdata/debian11", pid: 4153022},
"debian12": {fspath: "testdata/debian12", pid: 1115883},
"ubuntu1804": {fspath: "testdata/ubuntu1804", pid: 2523},
"debian11": {fspath: "testdata/debian11", pid: 4153022},
"debian12": {fspath: "testdata/debian12", pid: 1115883},
"ubuntu1804": {fspath: "testdata/ubuntu1804", pid: 2523},
c.Check(logs, Matches, `(?ms).* \d\d+ rss\\n.*`)
c.Check(logs, Matches, `(?ms).*blkio:\d+:\d+ \d+ write \d+ read\\n.*`)
c.Check(logs, Matches, `(?ms).*net:\S+ \d+ tx \d+ rx\\n.*`)
c.Check(logs, Matches, `(?ms).* \d\d+ rss\\n.*`)
c.Check(logs, Matches, `(?ms).*blkio:\d+:\d+ \d+ write \d+ read\\n.*`)
c.Check(logs, Matches, `(?ms).*net:\S+ \d+ tx \d+ rx\\n.*`)