mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e665263b10
btrfs_noversion was added in d7c37b5a28
for distributions that did not have the `btrfs/version.h` header file.
Seeing how all of the distributions we currently support do have the
`btrfs/version.h` file we should probably just remove this build flag
altogether.
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
13 lines
243 B
Go
13 lines
243 B
Go
// +build linux
|
|
|
|
package btrfs // import "github.com/docker/docker/daemon/graphdriver/btrfs"
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestLibVersion(t *testing.T) {
|
|
if btrfsLibVersion() <= 0 {
|
|
t.Error("expected output from btrfs lib version > 0")
|
|
}
|
|
}
|