diff options
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 9f2356aa4e8..288d491de39 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' +} |