summaryrefslogtreecommitdiffstats
path: root/tests/snapshot.rc
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/snapshot.rc
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/snapshot.rc')
-rwxr-xr-xtests/snapshot.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/snapshot.rc b/tests/snapshot.rc
index 408b5a72..a165716 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