The test_79 in sanity-quota needs quota pool support, and
the cleanup of the "stop file" is also included in the
stack_trap, then it is no need to to do it explicitly.
Test-Parameters: trivial
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: If86a1d0187b4b95d0c5e24f11f5f058280726e64
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52472
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
local cmd="$LCTL get_param -n qmt.$FSNAME-QMT0000.dt-$qpool.info"
local stopf=$TMP/$tfile
+ mds_supports_qp
do_facet mds1 "touch $stopf"
stack_trap "do_facet mds1 'rm -f $stopf'"
do_facet mds1 "while [ -e $stopf ]; do $cmd &>/dev/null; done"&
local pid=$!
pool_add $qpool || error "pool_add failed"
- do_facet mds1 "rm $stopf"
wait $pid
}
run_test 79 "access to non-existed dt-pool/info doesn't cause a panic"