From: Rahul Deshmukh Date: Thu, 16 Sep 2010 08:08:09 +0000 (+0530) Subject: b=23200 1.8<->2.0 interop: sanityN test_12: @@@@@@ FAIL: test_12 failed with 1 X-Git-Tag: v1_8_4_53~16 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=26953c0c0efcbde4decc9b3e3a9e726bab6a6fb4;p=fs%2Flustre-release.git b=23200 1.8<->2.0 interop: sanityN test_12: @@@@@@ FAIL: test_12 failed with 1 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 --- diff --git a/lustre/tests/lockorder.sh b/lustre/tests/lockorder.sh index d4656d3..122df46 100644 --- a/lustre/tests/lockorder.sh +++ b/lustre/tests/lockorder.sh @@ -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