version_test.go 260 B

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