summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic/bd.t9
-rwxr-xr-xtests/snapshot.rc9
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/basic/bd.t b/tests/basic/bd.t
index 52c064ee0bc..7e3637492a3 100755
--- a/tests/basic/bd.t
+++ b/tests/basic/bd.t
@@ -71,6 +71,15 @@ function volume_type()
getfattr -n volume.type $M0/. --only-values --absolute-names -e text
}
+case $OSTYPE in
+NetBSD)
+ echo "Skip test on LVM which is not available on NetBSD" >&2
+ exit 0
+ ;;
+*)
+ ;;
+esac
+
TEST glusterd
TEST pidof glusterd
configure
diff --git a/tests/snapshot.rc b/tests/snapshot.rc
index 408b5a72a0c..a1657162fd4 100755
--- a/tests/snapshot.rc
+++ b/tests/snapshot.rc
@@ -384,3 +384,12 @@ function snap_config()
local var=$2
$cli_index snapshot config | grep "^$var" | sed 's/.*: //'
}
+
+case $OSTYPE in
+NetBSD)
+ echo "Skip test on LVM which is not available on NetBSD" >&2
+ exit 0
+ ;;
+*)
+ ;;
+esac