From cce775726af28c602d99f73a65439a2564790381 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Tue, 21 May 2019 15:28:10 +0530 Subject: tests: Add history api tests updates: bz#1193929 Change-Id: Ic26ab5277f720c734f083150c1c541763dfa64aa Signed-off-by: Kotresh HR --- tests/volume.rc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index af7690ba5ff..de99e7038f4 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -902,6 +902,17 @@ function check_changelog_op { $PYTHON $(dirname $0)/../../utils/changelogparser.py ${clog_path}/CHANGELOG | grep "$op" | wc -l } +function processed_changelogs { + local processed_dir=$1 + count=$(ls -l $processed_dir | grep CHANGELOG | wc -l) + if [ $count -gt 0 ]; + then + echo "Y" + else + echo "N" + fi +} + function volgen_check_ancestry { #Returns Y if ancestor_xl is an ancestor of $child_xl according to the volfile local volfile="$1" -- cgit