Whamcloud - gitweb
Branch b1_6
authorjohann <johann>
Mon, 8 Dec 2008 15:51:28 +0000 (15:51 +0000)
committerjohann <johann>
Mon, 8 Dec 2008 15:51:28 +0000 (15:51 +0000)
b=17379

Print value of symlink depth before checking it.

lustre/tests/sanity.sh

index fad8585..6484ee5 100644 (file)
@@ -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) ===="