summaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-08-31 05:45:16 +0200
committerVijay Bellur <vbellur@redhat.com>2014-08-31 22:14:00 -0700
commit8b8f6da58926a9ae7e450021e17b0b68d9fea830 (patch)
tree03d957dbf9c281d2810f754c1dc581c36fc894b4 /tests/basic
parent9816fe18e839eb195a6f4482311b65df995b920f (diff)
Regression test portability: LVM
Skip any test involving LVM on NetBSD as LVM is not supported BUG: 1129939 Change-Id: I2237bae1128d1a81047c9ff7f905431156daf8b7 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/8556 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/basic')
-rwxr-xr-xtests/basic/bd.t9
1 files changed, 9 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