From: girish Date: Sun, 8 Mar 2009 08:14:16 +0000 (+0000) Subject: b=17846 X-Git-Tag: 1.8.0~77 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2412a5269684df3f5aeae473460bd5245a8b88d6;p=fs%2Flustre-release.git b=17846 i=adilger i=h.huang changes to regression test after landing 17846 Lustre patch. make sure all files are not extracted on OST id 0 --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 2bcaed5..baf7b24 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3930,6 +3930,8 @@ test_102c() { run_test 102c "non-root getfattr/setfattr for lustre.lov EAs ===========" compare_stripe_info1() { + local stripe_index_all_zero=1 + for num in 1 2 3 4 do for count in 1 2 3 4 @@ -3946,11 +3948,13 @@ compare_stripe_info1() { error "$file: different stripe count" && return fi if [ $stripe_index -ne 0 ]; then - error "$file: different stripe offset" && return + stripe_index_all_zero=0 fi done done done + [ $stripe_index_all_zero -eq 1 ] && error "all files are being extracted starting from OST index 0" + return 0 } compare_stripe_info2() {