From f3a4dd0e34956be12dfc2db890bb27e68fd2b455 Mon Sep 17 00:00:00 2001
From: johann <johann>
Date: Mon, 8 Dec 2008 15:51:28 +0000
Subject: [PATCH] Branch b1_6 b=17379

Print value of symlink depth before checking it.
---
 lustre/tests/sanity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index fad85859df..6484ee5a01 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -5512,8 +5512,8 @@ test_140() { #bug-17379
                 }
         done
         i=`expr $i - 1`
-        [ $i -eq 5 -o $i -eq 8 ] || error "Invalid symlink depth"
         echo "The symlink depth = $i"
+        [ $i -eq 5 -o $i -eq 8 ] || error "Invalid symlink depth"
 }
 run_test 140 "Check reasonable stack depth (shouldn't LBUG) ===="
 
-- 
GitLab