diff options
Diffstat (limited to 'tests/volume.rc')
-rw-r--r-- | tests/volume.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc index 36336266d5c..2992e866fda 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -632,3 +632,10 @@ function quota_hl_exceeded() } +function scrub_status() +{ + local vol=$1; + local field=$2; + + $CLI volume bitrot $vol scrub status | grep "^$field: " | sed 's/.*: //'; +} |