Whamcloud - gitweb
Branch HEAD
authorjohann <johann>
Mon, 8 Dec 2008 15:53:46 +0000 (15:53 +0000)
committerjohann <johann>
Mon, 8 Dec 2008 15:53:46 +0000 (15:53 +0000)
b=17379

Print value of symlink depth before checking it.

lustre/tests/sanity.sh

index c4c4d95..f3e77a8 100644 (file)
@@ -5728,8 +5728,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) ===="