diff options
Diffstat (limited to 'tests/snapshot.rc')
-rw-r--r-- | tests/snapshot.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/snapshot.rc b/tests/snapshot.rc index 34e9ebf16d8..2d6f05037d1 100644 --- a/tests/snapshot.rc +++ b/tests/snapshot.rc @@ -461,6 +461,13 @@ function get-cmd-field-xml() $cli $COMMAND --xml | xmllint --format - | grep $PATTERN } +function get_snap_brick_status() +{ + local snap=$1; + + $CLI snapshot status $snap | grep "Brick Running" | sed 's/.*: //'; +} + case $OSTYPE in NetBSD) echo "Skip test on LVM which is not available on NetBSD" >&2 |