mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
23 lines
324 B
Go
23 lines
324 B
Go
// !build linux,amd64
|
|
|
|
package sysctl
|
|
|
|
import (
|
|
"testing"
|
|
|
|
. "gopkg.in/check.v1"
|
|
)
|
|
|
|
type MySuite struct{}
|
|
|
|
var _ = Suite(&MySuite{})
|
|
|
|
func Test(t *testing.T) { TestingT(t) }
|
|
|
|
func (s *MySuite) TestSysctl(c *C) {
|
|
sysctl := Sysctl{}
|
|
err := sysctl.Get()
|
|
c.Assert(err, IsNil)
|
|
c.Assert(sysctl.Sysattrmap, Not(Equals), 0)
|
|
}
|