github.com/fcwu/docker@v1.4.2-0.20150115145920-2a69ca89f0df/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  }