From: Elena Gryaznova Date: Fri, 12 Mar 2010 16:44:06 +0000 (+0300) Subject: b=21927 test_80 interop 18 <-> 20 fix X-Git-Tag: v1_8_2_53~20 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c7d8f2b40e2d18305838f3c2a3f29d4d763b7d55;p=fs%2Flustre-release.git b=21927 test_80 interop 18 <-> 20 fix i=Mikhail.Pershin --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 5a0f625..91266df 100644 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1994,6 +1994,9 @@ test_73c() { run_test 73c "open(O_CREAT), unlink, replay, reconnect at last_replay, close" test_80a() { + do_facet ost1 "lctl get_param obdfilter.${ost1_svc}.sync_journal" || + { skip "sync journal is not implemeted" && return; } + do_facet ost1 "lctl set_param -n obdfilter.${ost1_svc}.sync_journal 0" replay_barrier ost1 @@ -2011,8 +2014,11 @@ test_80a() { run_test 80a "write replay" test_80b() { - do_facet ost1 "lctl set_param -n obdfilter.${ost1_svc}.sync_journal 0" + do_facet ost1 "lctl get_param obdfilter.${ost1_svc}.sync_journal" || + { skip "sync journal is not implemeted" && return; } + do_facet ost1 "lctl set_param -n obdfilter.${ost1_svc}.sync_journal 0" + replay_barrier ost1 lfs setstripe -i 0 -c 1 $DIR/$tfile dd if=/dev/urandom of=$DIR/$tfile bs=1024k count=8 || error "Cannot write"