From a2112bd6fa2e4851cd982a691165f76f0c90d977 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 29 Jun 2018 23:40:53 +0530 Subject: xlators/playground: fix the template files with latest requirements * Make use of xlator_api * Make use of gf_msg() * Make use of mem-pool * Add a sample metrics dump function * Provide an dummy option, which can be initialized, and reconfigured * Add a test case to make sure template xlator is built and used with default fops * Make a change in rpc-coverage to run without lock tests. Updates: bz#1193929 Change-Id: I377dd67b656f440f9bc7c0098e21c0c1934e9096 Signed-off-by: Amar Tumballi --- tests/basic/playground/template-xlator-sanity.t | 27 +++++++++++++++++++++++++ tests/basic/rpc-coverage.sh | 13 +++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100755 tests/basic/playground/template-xlator-sanity.t (limited to 'tests') diff --git a/tests/basic/playground/template-xlator-sanity.t b/tests/basic/playground/template-xlator-sanity.t new file mode 100755 index 00000000000..c3090dae5a8 --- /dev/null +++ b/tests/basic/playground/template-xlator-sanity.t @@ -0,0 +1,27 @@ +#!/bin/bash + +. $(dirname $0)/../../include.rc +. $(dirname $0)/../../volume.rc + +cleanup; + +TEST mkdir -p $B0/single-brick +cat > $B0/template.vol <