summaryrefslogtreecommitdiffstats
path: root/tests/features
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-06-01 22:43:03 +0530
committerAmar Tumballi <amarts@redhat.com>2019-06-04 09:52:59 +0000
commitabc4d4cfa01d922c46ebb1abfa5d801ba8c6b5c8 (patch)
tree739df47be890d005c19ede751b08110d9824441c /tests/features
parent400b66d568ad18fefcb59949d1f8368d487b9a80 (diff)
lcov: run more fops on translators
Translators covered: * playground/template * debug/delay-gen * debug/error-gen * features/namespace * features/quiesce * meta updates: bz#1693692 Change-Id: Ic8fde8efcb309ea492d8e819241f786f7ff467a1 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'tests/features')
-rwxr-xr-xtests/features/delay-gen.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/features/delay-gen.t b/tests/features/delay-gen.t
index 712b5b60065..38127317d8a 100755
--- a/tests/features/delay-gen.t
+++ b/tests/features/delay-gen.t
@@ -36,5 +36,17 @@ create_max_latency=$($CLI volume profile $V0 info | grep CREATE | awk 'BEGIN {ma
TEST [ ! -z $write_max_latency ];
TEST [ -z $create_max_latency ];
+# Not providing a particular fop will make it test everything
+TEST $CLI volume reset $V0 delay-gen.enable
+TEST $CLI volume set $V0 delay-gen.delay-duration 100
+
+cp $(dirname ${0})/../../api/examples/glfsxmp.c glfsxmp.c
+build_tester ./glfsxmp.c -lgfapi
+./glfsxmp $V0 $H0 >/dev/null
+cleanup_tester ./glfsxmp
+rm ./glfsxmp.c
+
+$(dirname $0)/../basic/rpc-coverage.sh $M0 >/dev/null
+
cleanup;
#G_TESTDEF_TEST_STATUS_NETBSD7=1501397