summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index bc34b608891..9e01fff687d 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -512,6 +512,12 @@ function cleanup_georep {
$CLI volume geo-rep $GMV0 $H0::$GSV0 delete
}
+function num_graphs
+{
+ local mountpoint=$1
+ echo `ls $mountpoint/.meta/graphs/ | grep -v active | wc -l`
+}
+
function get_aux()
{
##Check if a auxiliary mount is there