mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Add linux scsi disk detection and attribute mapping
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// !build linux,amd64
|
||||
package scsi
|
||||
|
||||
import (
|
||||
. "gopkg.in/check.v1"
|
||||
"testing"
|
||||
)
|
||||
|
||||
type MySuite struct{}
|
||||
|
||||
var _ = Suite(&MySuite{})
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
||||
func (s *MySuite) TestSCSI(c *C) {
|
||||
var d Devices
|
||||
err := d.Get()
|
||||
c.Assert(err, IsNil)
|
||||
c.Assert(len(d.List), Equals, 1)
|
||||
}
|
||||
Reference in New Issue
Block a user