summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2019-10-10 21:59:59 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-10-17 03:35:12 +0000
commit1695ece5d70305b4da03d21c3f721ce6d879e4d4 (patch)
tree28f8804350c13daa4687703bd64e2ccd903f9211 /tests/volume.rc
parent1cb05730763d98f65c28246c8808217e6e9d6948 (diff)
tests: add tests for bz#1758878
updates: bz#1193929 Change-Id: I517fa29e57bde970c2c22ebc2de80fec1509cd2d Signed-off-by: Sanju Rakonde <srakonde@redhat.com> Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 9f2356a..288d491 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -987,3 +987,8 @@ function get_atime {
echo $time
fi
}
+
+function get-xml()
+{
+ $CLI $1 --xml | xmllint --format - | grep $2 | sed 's/\(<"$2">\|<\/"$2">\)//g'
+}