From: Elena Gryaznova Date: Wed, 7 Feb 2018 20:09:58 +0000 (+0300) Subject: LU-10574 tests: remove useless check from sanity-dom.sh X-Git-Tag: 2.10.59~99 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F31074%2F3;p=fs%2Flustre-release.git LU-10574 tests: remove useless check from sanity-dom.sh Tests test_sanity() and test_sanityn() are skipped if started not from lustre/tests directory because of incorrect check that ./sanity.sh exists. Patch removes the check of the files which are part of lustre/tests. Signed-off-by: Elena Gryaznova Cray-bug-id: LUS-2594 Reviewed-by: Vladimir Saveliev Reviewed-by: Andriy Skulysh Test-Parameters: testlist=sanity-dom Change-Id: I51ad517fbf3ff653d9a11994eb280daee589a886 Reviewed-on: https://review.whamcloud.com/31074 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-dom.sh b/lustre/tests/sanity-dom.sh index d2ecf7d..3126b00 100644 --- a/lustre/tests/sanity-dom.sh +++ b/lustre/tests/sanity-dom.sh @@ -97,7 +97,6 @@ run_test fsx "Dual-mount fsx with DoM files" test_sanity() { - [[ -f sanity.sh ]] || { skip "sanity.sh doesn't exist"; return 0; } # XXX: to fix 45. Add 42a, c when LU-9693 fixed. # Add 42b when LU-6493 fixed ONLY="36 39 40 41 42d 42e 43 46 56r 101e 119a 131 150 155a 155b 155c \ @@ -107,7 +106,6 @@ run_test sanity "Run sanity with Data-on-MDT files" test_sanityn() { - [[ -f sanityn.sh ]] || { skip "sanityn.sh doesn't exist"; return 0; } # XXX: to fix 60 ONLY="1 2 4 5 6 7 8 9 10 11 12 14 17 19 20 23 27 39 51a 51c 51d" \ OSC="mdc" DOM="yes" bash sanityn.sh