From 8b8f6da58926a9ae7e450021e17b0b68d9fea830 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sun, 31 Aug 2014 05:45:16 +0200 Subject: 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 Reviewed-on: http://review.gluster.org/8556 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/snapshot.rc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/snapshot.rc') 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 -- cgit