X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Ftests%2Ftest-framework.sh;h=d3a27c99a21408c0b03e45b0544f493e8ec1bef0;hb=df19e89b6c2c5b355ab2156da99bebf939ee01fd;hp=06224f71347bb7bea64f734975681b4441ca8781;hpb=632cef2dcd807b1327ee26aacd9698953fb62c5b;p=fs%2Flustre-release.git diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 06224f7..d3a27c9 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -1,5 +1,6 @@ #!/bin/bash -# vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4: +# -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*- +# vim:shiftwidth=4:softtabstop=4:tabstop=4: trap 'print_summary && touch $TF_FAIL && \ echo "test-framework exiting on error"' ERR @@ -403,7 +404,11 @@ load_modules_local() { load_module cmm/cmm load_module osd-ldiskfs/osd_ldiskfs load_module ost/ost - load_module obdfilter/obdfilter + if [ "x$USE_OFD" = "xyes" ]; then + load_module ofd/ofd + else + load_module obdfilter/obdfilter + fi fi @@ -4118,10 +4123,7 @@ wait_import_state() { # the value depends on configure options, and it is not stored in /proc. # obd_support.h: # #define CONNECTION_SWITCH_MIN 5U -# #ifndef CRAY_XT3 # #define INITIAL_CONNECT_TIMEOUT max(CONNECTION_SWITCH_MIN,obd_timeout/20) -# #else -# #define INITIAL_CONNECT_TIMEOUT max(CONNECTION_SWITCH_MIN,obd_timeout/2) request_timeout () { local facet=$1