summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
705b31c)
This patch fixes sanityn test_45g() to add error check for
"stat must fail".
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: Iff65f2684244ab58e0d0cab68db0795f5604187e
Reviewed-on: http://review.whamcloud.com/3826
Tested-by: Hudson
Reviewed-by: Wei Liu <wei3.liu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
mv $DIR1/$tfile $DIR1/$tfile-2 &
PID1=$!
sleep 1
mv $DIR1/$tfile $DIR1/$tfile-2 &
PID1=$!
sleep 1
- stat $DIR2/$tfile > /dev/null && "stat must fail"
+ stat $DIR2/$tfile > /dev/null && error "stat must fail"
check_pdo_conflict $PID1 && { wait $PID1; error "getattr isn't blocked"; }
rm -r $DIR1/*
return 0
check_pdo_conflict $PID1 && { wait $PID1; error "getattr isn't blocked"; }
rm -r $DIR1/*
return 0