2015-03-24 18:13:56 +00:00
|
|
|
// +build linux,!btrfs_noversion
|
2014-11-06 20:04:10 +00:00
|
|
|
|
|
|
|
package btrfs
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
2015-03-16 18:53:41 +00:00
|
|
|
func TestLibVersion(t *testing.T) {
|
2015-07-31 00:16:53 +00:00
|
|
|
if btrfsLibVersion() <= 0 {
|
2016-11-14 09:01:17 +00:00
|
|
|
t.Error("expected output from btrfs lib version > 0")
|
2014-11-06 20:04:10 +00:00
|
|
|
}
|
|
|
|
}
|