Merge of master-melb:xfs-cmds:26498a by kenmcd.
let people know that they probably have an old XFS if this test fails
_print_logstate
echo "logprint to check for CLEAR_AGI_BUCKET..."
-_scratch_xfs_logprint -t | grep CLEAR
+if _scratch_xfs_logprint -t | tee -a $seq.full | grep CLEAR; then
+ echo 'CLEAR_AGI_BUCKET transactions found!!'
+ echo 'Are you running with an old xfs kernel - where the bug still exists?'
+else
+ echo 'No CLEAR_AGI_BUCKET found in transactions - great - test passed :)'
+fi
# success, all done
status=0
logprint after going down...
dirty log
logprint to check for CLEAR_AGI_BUCKET...
+No CLEAR_AGI_BUCKET found in transactions - great - test passed :)