From f02e03374f43ee541a711ff79fd5a4815e55eea5 Mon Sep 17 00:00:00 2001 From: Raghavendra Talur Date: Thu, 10 Mar 2016 18:01:33 +0530 Subject: tests: Backport all changes to tests dir Test framework should be the same on all the branches. This is a copy of all the files under tests dir from master branch. New tests in master have not been backported, but changes to existing tests have been. Change-Id: I75747c525aabbd9247473dd29b3a0e7a7d93c827 BUG: 1316533 Signed-off-by: Raghavendra Talur Reviewed-on: http://review.gluster.org/13683 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- tests/changelog.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/changelog.rc') diff --git a/tests/changelog.rc b/tests/changelog.rc index e3b040226ec..ffad2e80632 100644 --- a/tests/changelog.rc +++ b/tests/changelog.rc @@ -2,3 +2,8 @@ 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 +} -- cgit