Whamcloud - gitweb
b=23200 1.8<->2.0 interop: sanityN test_12: @@@@@@ FAIL: test_12 failed with 1
authorRahul Deshmukh <Rahul.Deshmukh@Sun.COM>
Thu, 16 Sep 2010 08:08:09 +0000 (13:38 +0530)
committerAndrew Perepechko <andrew.perepechko@sun.com>
Thu, 16 Sep 2010 10:52:59 +0000 (14:52 +0400)
b=23200 1.8<->2.0 interop: sanityN test_12: @@@@@@ FAIL: test_12 failed with 1

This patch fixed the 1.8<->2.0 interop: sanityN test_12

i=rread

lustre/tests/lockorder.sh

index d4656d3..122df46 100644 (file)
@@ -42,7 +42,7 @@ while [ $MINRES -gt $MAXRES ]; do
                MAXDIR=$DIRTMP
                MAXRES=$DIRRES
        fi
-       if [ $FILERES -lt $MINRES ]; then
+       if [ $FILERES -lt $MINRES -o -z "$MINFILE" ]; then
                [ -f "$MINFILE" ] && rm $MINFILE
                MINFILE=$FILETMP
                MINRES=$FILERES