From 459be3426846c7162901cd00e806fe460e91ddea Mon Sep 17 00:00:00 2001
From: adilger <adilger>
Date: Thu, 4 Sep 2008 10:41:19 +0000
Subject: [PATCH] Branch b1_6 Skip test 32b for remote OST.

---
 lustre/tests/sanityN.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lustre/tests/sanityN.sh b/lustre/tests/sanityN.sh
index 2d2b1b434f..6cbb5fdcdc 100644
--- a/lustre/tests/sanityN.sh
+++ b/lustre/tests/sanityN.sh
@@ -133,9 +133,9 @@ test_2e() {
 run_test 2e "check chmod on root is propagated to others"
 
 test_3() {
-	( cd $DIR1 ; ln -s this/is/good lnk )
-	[ "this/is/good" = "`perl -e 'print readlink("'$DIR2/lnk'");'`" ] || \
-		error
+	( cd $DIR1 ; ln -s this/is/good $tfile )
+	[ "this/is/good" = "`perl -e 'print readlink("'$DIR2/$tfile'");'`" ] ||\
+		error "link $DIR2/$tfile not as expected"
 }
 run_test 3 "symlink on one mtpt, readlink on another ==========="
 
@@ -639,6 +639,9 @@ run_test 32a "lockless truncate"
 test_32b() { # bug 11270
         local node
         local p="$TMP/sanityN-$TESTNAME.parameters"
+
+        remote_ost_nodsh && skip "remote OST" && return 0
+
         save_lustre_params $HOSTNAME "llite.*.contention_seconds" > $p
         for node in $(osts_nodes); do
                 save_lustre_params $node "ldlm.namespaces.filter-*.max_nolock_bytes" >> $p
-- 
GitLab