Signed-off-by: wefine <wang.xiaoren@zte.com.cn> Upstream-commit: f78f7de96aebee64b55bb9955fa6c97be2c59662 Component: engine
14 lines
198 B
Go
14 lines
198 B
Go
// +build linux,!btrfs_noversion
|
|
|
|
package btrfs
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestLibVersion(t *testing.T) {
|
|
if btrfsLibVersion() <= 0 {
|
|
t.Error("expected output from btrfs lib version > 0")
|
|
}
|
|
}
|