summaryrefslogtreecommitdiffstats
path: root/tests/changelog.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/changelog.rc')
-rw-r--r--tests/changelog.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/changelog.rc b/tests/changelog.rc
new file mode 100644
index 00000000000..ffad2e80632
--- /dev/null
+++ b/tests/changelog.rc
@@ -0,0 +1,9 @@
+
+function count_htime_files {
+ ls -l $B0/$V0"1"/.glusterfs/changelogs/htime/ | grep HTIME | wc -l
+}
+
+function count_changelog_files {
+ # Where $1 is the brick name passed
+ ls -l $1/.glusterfs/changelogs/ | grep CHANGELOG | wc -l
+}