From: Alex Zhuravlev Date: Thu, 19 Apr 2018 13:23:03 +0000 (+0300) Subject: LU-10929 tests: skip sanity/315 if IO accounting is disabled X-Git-Tag: 2.12.53~96 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4ca7949bf0eaae98aa6b8596a8b0f51ced26d2a0;p=fs%2Flustre-release.git LU-10929 tests: skip sanity/315 if IO accounting is disabled just to avoid false fails Test-Parameters: trivial Change-Id: I1f7820f03fd3487aa2bd6187362d06934b12ad8e Signed-off-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/32072 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Nunez --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index db750bf..5af5449 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -18746,6 +18746,8 @@ test_314() { run_test 314 "OSP shouldn't fail after last_rcvd update failure" test_315() { # LU-618 + [ -f /proc/$$/io ] || skip_env "no IO accounting in kernel" + local file=$DIR/$tfile rm -f $file