. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
# also long tests: 19, 21a, 21e, 21f, 23, 27
-# 1 2.5 4 4 (min)"
-[ "$SLOW" = "no" ] && EXCEPT_SLOW="17 26b 50 51 57"
+# 1 2.5 2.5 4 4 (min)"
+[ "$SLOW" = "no" ] && EXCEPT_SLOW="17 26a 26b 50 51 57"
build_test_filter
}
run_test 24 "fsync error (should return error)"
-test_26() { # bug 5921 - evict dead exports by pinger
+test_26a() { # was test_26 bug 5921 - evict dead exports by pinger
# this test can only run from a client on a separate node.
- remote_ost || skip "local OST" && return
- remote_mds || skip "local MDS" && return
+ remote_ost || { skip "local OST" && return 0; }
+ remote_mds || { skip "local MDS" && return 0; }
OST_FILE=obdfilter.${ost1_svc}.num_exports
OST_EXP="`do_facet ost1 lctl get_param -n $OST_FILE`"
OST_NEXP1=`echo $OST_EXP | cut -d' ' -f2`
[ $OST_NEXP1 -le $OST_NEXP2 ] && error "client not evicted"
return 0
}
-run_test 26 "evict dead exports"
+run_test 26a "evict dead exports"
test_26b() { # bug 10140 - evict dead exports by pinger
client_df
run_test 69 "verify oa2dentry return -ENOENT doesn't LBUG ======"
test_71() {
- which dbench > /dev/null 2>&1 || skip "dbench not installed, skip this test" && return 0
+ which dbench > /dev/null 2>&1 || { skip "dbench not installed, skip this test" && return 0; }
DBENCH_LIB=${DBENCH_LIB:-/usr/lib/dbench}
PATH=${DBENCH_LIB}:${PATH}
cp `which dbench` $DIR
error() {
error_noexit "$@"
- [ "$FAIL_ON_ERROR" ] && exit 1 || true
+ $FAIL_ON_ERROR && exit 1 || true
}
error_exit() {
remote_mds ()
{
- [ ! -z "$(lctl dl | grep \<mdt\>)" ]
+ [ -z "$(lctl dl | grep mdt)" ]
}
remote_mds_nodsh()
remote_ost ()
{
- [ -z "$(lctl dl | grep \<ost\>)" ]
+ [ -z "$(lctl dl | grep ost)" ]
}
remote_ost_nodsh()