b23c4b4e22
Test case added to check NO EMPTY changelogs gets created over changelog rollover period. Change-Id: I83323644e1a0c4b920a472e1179606a0fd54d1d9 BUG: 1237000 Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com> Reviewed-on: http://review.gluster.org/11460 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
10 lines
240 B
Plaintext
10 lines
240 B
Plaintext
|
|
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
|
|
}
|