github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/daemon/graphdriver/btrfs/version_test.go (about) 1 //go:build linux 2 // +build linux 3 4 package btrfs // import "github.com/docker/docker/daemon/graphdriver/btrfs" 5 6 import ( 7 "testing" 8 ) 9 10 func TestLibVersion(t *testing.T) { 11 if btrfsLibVersion() <= 0 { 12 t.Error("expected output from btrfs lib version > 0") 13 } 14 }