github.com/dlintw/docker@v1.5.0-rc4/daemon/graphdriver/btrfs/version_test.go (about)

     1  // +build linux
     2  
     3  package btrfs
     4  
     5  import (
     6  	"testing"
     7  )
     8  
     9  func TestBuildVersion(t *testing.T) {
    10  	if len(BtrfsBuildVersion()) == 0 {
    11  		t.Errorf("expected output from btrfs build version, but got empty string")
    12  	}
    13  }