summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 5b7a38f77..54b6173c5 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -119,6 +119,10 @@ function afr_child_up_status_in_shd {
_afr_child_up_status $vol $brick_id generate_shd_statedump
}
+function nfs_up_status {
+ gluster volume status | grep "NFS Server" | awk '{print $6}'
+}
+
function glustershd_up_status {
gluster volume status | grep "Self-heal Daemon" | awk '{print $6}'
}