X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanityn.sh;h=1618b82391ec26289bcf9544e428ee554f26a0c2;hp=938bd1aa05adb193ec3f42cb2cba785187102ed6;hb=e16e3d46ee8c44e691c5cd3d25161f2f297fa0fd;hpb=20a6d327c54fc49b1c9e444e9196e20bf8674a85 diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index 938bd1a..1618b82 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -4800,7 +4800,7 @@ test_103() { [ $OST1_VERSION -lt $(version_code 2.10.50) ] && skip "Lockahead needs OST version at least 2.10.50" - local testnum=23 + local locktest=23 test_mkdir -p $DIR/$tdir @@ -4817,7 +4817,7 @@ test_103() { do_facet ost1 $LCTL set_param fail_loc=0x415 fail_val=2 echo "Incorrect size expected (no glimpse fix):" - lockahead_test -d $DIR/$tdir -D $DIR2/$tdir -t $testnum -f $tfile + lockahead_test -d $DIR/$tdir -D $DIR2/$tdir -t $locktest -f $tfile rc=$? if [ $rc -eq 0 ]; then echo "This doesn't work 100%, but this is just reproducing the bug, not testing the fix, so OK to not fail test." @@ -4834,9 +4834,9 @@ test_103() { do_facet ost1 $LCTL set_param fail_loc=0x214 fail_val=2 # Write commit is still delayed by 2 seconds - lockahead_test -d $DIR/$tdir -D $DIR2/$tdir -t $testnum -f $tfile + lockahead_test -d $DIR/$tdir -D $DIR2/$tdir -t $locktest -f $tfile rc=$? - [ $rc -eq 0 ] || error "Lockahead test${testnum} failed, ${rc}" + [ $rc -eq 0 ] || error "Lockahead test$locktest failed, $rc" # guarantee write commit timeout has expired sleep 2