github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/daemon/graphdriver/btrfs/version_test.go (about)

     1  // +build linux
     2  
     3  package btrfs // import "github.com/docker/docker/daemon/graphdriver/btrfs"
     4  
     5  import (
     6  	"testing"
     7  )
     8  
     9  func TestLibVersion(t *testing.T) {
    10  	if btrfsLibVersion() <= 0 {
    11  		t.Error("expected output from btrfs lib version > 0")
    12  	}
    13  }