summaryrefslogtreecommitdiffstats
path: root/tests/line-coverage/meta-max-coverage.t
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-06-01 22:43:03 +0530
committerAmar Tumballi <amarts@redhat.com>2019-06-04 09:52:59 +0000
commitabc4d4cfa01d922c46ebb1abfa5d801ba8c6b5c8 (patch)
tree739df47be890d005c19ede751b08110d9824441c /tests/line-coverage/meta-max-coverage.t
parent400b66d568ad18fefcb59949d1f8368d487b9a80 (diff)
lcov: run more fops on translators
Translators covered: * playground/template * debug/delay-gen * debug/error-gen * features/namespace * features/quiesce * meta updates: bz#1693692 Change-Id: Ic8fde8efcb309ea492d8e819241f786f7ff467a1 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'tests/line-coverage/meta-max-coverage.t')
-rwxr-xr-xtests/line-coverage/meta-max-coverage.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/line-coverage/meta-max-coverage.t b/tests/line-coverage/meta-max-coverage.t
index 16f65dc8a27..1cc07610aa7 100755
--- a/tests/line-coverage/meta-max-coverage.t
+++ b/tests/line-coverage/meta-max-coverage.t
@@ -20,7 +20,13 @@ TEST stat $M1/.meta/
# expect failures in rpc-coverage.sh execution.
res=$($(dirname $0)/../basic/rpc-coverage.sh $M1/.meta)
-res=$(find $M1/.meta -type f -print | xargs cat > /dev/null)
+
+# Expect errors here, hence no need to 'check for success'
+for file in $(find $M1/.meta type f -print); do
+ cat $file >/dev/null
+ echo 1>$file
+ echo hello>$file
+done
TEST umount $M1