summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index f2a56888fb8..6c0e6abea83 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -506,3 +506,10 @@ 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`
+}