summaryrefslogtreecommitdiffstats
path: root/tests/changelog.rc
blob: ffad2e80632648f1899e624584a6551b3309690c (plain)
1
2
3
4
5
6
7
8
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
}