summaryrefslogtreecommitdiffstats
path: root/tests/geo-rep.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/geo-rep.rc')
-rw-r--r--tests/geo-rep.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/geo-rep.rc b/tests/geo-rep.rc
index b762a333aca..396b4c4a3e5 100644
--- a/tests/geo-rep.rc
+++ b/tests/geo-rep.rc
@@ -384,3 +384,10 @@ function verify_hardlink_rename_data()
echo 0
fi
}
+
+function check_slave_read_only()
+{
+ volum=$1
+ gluster volume info $1 | grep 'features.read-only: on'
+ echo $?
+}