github.com/cdoern/storage@v1.12.13/pkg/dmesg/dmesg_linux_test.go (about)

     1  package dmesg
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestDmesg(t *testing.T) {
     8  	t.Logf("dmesg output follows:\n%v", string(Dmesg(512)))
     9  }