Whamcloud - gitweb
LU-10929 tests: skip sanity/315 if IO accounting is disabled 72/32072/7
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Thu, 19 Apr 2018 13:23:03 +0000 (16:23 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:44:11 +0000 (03:44 +0000)
just to avoid false fails

Test-Parameters: trivial

Change-Id: I1f7820f03fd3487aa2bd6187362d06934b12ad8e
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: https://review.whamcloud.com/32072
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanity.sh

index db750bf..5af5449 100755 (executable)
@@ -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