From 98865f5edb538f9559b7325d1bdbdbe0fe30d207 Mon Sep 17 00:00:00 2001 From: Tim Shimmin Date: Mon, 10 Jul 2006 06:08:23 +0000 Subject: [PATCH] let people know that they probably have an old XFS if this test fails Merge of master-melb:xfs-cmds:26498a by kenmcd. let people know that they probably have an old XFS if this test fails --- 121 | 7 ++++++- 121.out | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/121 b/121 index ba824696..9361025a 100755 --- a/121 +++ b/121 @@ -82,7 +82,12 @@ echo "logprint after going down..." _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 diff --git a/121.out b/121.out index fcc7209f..ae07e92a 100644 --- a/121.out +++ b/121.out @@ -12,3 +12,4 @@ unmount logprint after going down... dirty log logprint to check for CLEAR_AGI_BUCKET... +No CLEAR_AGI_BUCKET found in transactions - great - test passed :) -- 2.47.3