The test_79 in sanity-quota needs quota pool support.
The removal of the "stop file" is also improved not to
trigger the test error if it has been deleted.
Change-Id: I4acd36e61faf4259c2821293ffb7913d4cca76bd
Test-Parameters: trivial testlist=sanity-quota
Signed-off-by: Hongchao Zhang <hongchao@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"
+ do_facet mds1 "rm -f $stopf"
wait $pid
}
run_test 79 "access to non-existed dt-pool/info doesn't cause a panic"