summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.sh1
-rw-r--r--tests/basic/afr/arbiter-statfs.t10
2 files changed, 7 insertions, 4 deletions
diff --git a/run-tests.sh b/run-tests.sh
index e6d9cee..e21f165 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -211,7 +211,6 @@ function is_bad_test ()
./tests/basic/afr/sparse-file-self-heal.t \
./tests/basic/afr/replace-brick-self-heal.t \
./tests/bugs/snapshot/bug-1140162-file-snapshot-features-encrypt-opts-validation.t \
- ./tests/basic/afr/arbiter-statfs.t \
./tests/features/weighted-rebalance.t \
; do
[ x"$name" = x"$bt" ] && return 0 # bash: zero means true/success
diff --git a/tests/basic/afr/arbiter-statfs.t b/tests/basic/afr/arbiter-statfs.t
index 9210080..7d13637 100644
--- a/tests/basic/afr/arbiter-statfs.t
+++ b/tests/basic/afr/arbiter-statfs.t
@@ -5,6 +5,7 @@
. $(dirname $0)/../../volume.rc
cleanup;
+EXIT_EARLY=1
TEST glusterd
#Create brick partitions
@@ -12,11 +13,14 @@ TEST truncate -s 1G $B0/brick1
TEST truncate -s 1G $B0/brick2
#Arbiter brick is of a lesser size.
TEST truncate -s 90M $B0/brick3
-TEST LO1=`SETUP_LOOP $B0/brick1`
+LO1=`SETUP_LOOP $B0/brick1`
+TEST [ $? -eq 0 ]
TEST MKFS_LOOP $LO1
-TEST LO2=`SETUP_LOOP $B0/brick2`
+LO2=`SETUP_LOOP $B0/brick2`
+TEST [ $? -eq 0 ]
TEST MKFS_LOOP $LO2
-TEST LO3=`SETUP_LOOP $B0/brick3`
+LO3=`SETUP_LOOP $B0/brick3`
+TEST [ $? -eq 0 ]
TEST MKFS_LOOP $LO3
TEST mkdir -p $B0/${V0}1 $B0/${V0}2 $B0/${V0}3
TEST MOUNT_LOOP $LO1 $B0/${V0}1