summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 0f31beb4802..adb2fea61d8 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -74,3 +74,9 @@ function check_option_help_presence {
option=$1
$CLI volume set help | grep "^Option:" | grep -w $option
}
+
+function afr_get_changelog_xattr {
+ file=$1
+ xkey=$2
+ getfattr -n $xkey -e hex $file 2>/dev/null | grep "client-" | cut -f2 -d'='
+}