summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index f9725b2cba1..8cad822e9ad 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -710,3 +710,8 @@ function get_hard_link_count {
local path=$1;
stat -c %h $path
}
+
+function count_sh_entries()
+{
+ ls $1/.glusterfs/indices/xattrop | grep -v "xattrop-" | wc -l
+}