github.com/vincentwoo/docker@v0.7.3-0.20160116130405-82401a4b13c0/daemon/graphdriver/btrfs/version_test.go (about) 1 // +build linux,!btrfs_noversion 2 3 package btrfs 4 5 import ( 6 "testing" 7 ) 8 9 func TestLibVersion(t *testing.T) { 10 if btrfsLibVersion() <= 0 { 11 t.Errorf("expected output from btrfs lib version > 0") 12 } 13 }