summaryrefslogtreecommitdiffstats
path: root/tests/basic/xlator-pass-through-sanity.t
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2018-07-02 17:21:21 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-07-03 19:12:26 +0000
commitc80075466ddbf25766dbf805cd5161c736190b3e (patch)
tree3e37c8aac6d714e0860e7aa18cf1a7940ba8a363 /tests/basic/xlator-pass-through-sanity.t
parent524c869976c837c2ef13b5ef50020e7769188e4d (diff)
stack.h: fix the pass_through logic
while fixing the coverity issues, we made a minor mistake in the pass through logic in STACK_WIND macro. Also, with this patch, made the code common to reduce possible future errors creeping in due to missing one place update. updates: bz#1193929 Change-Id: I6fcfd156d63b0a7e6208819872e565eacf774150 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'tests/basic/xlator-pass-through-sanity.t')
-rw-r--r--tests/basic/xlator-pass-through-sanity.t22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/basic/xlator-pass-through-sanity.t b/tests/basic/xlator-pass-through-sanity.t
new file mode 100644
index 00000000000..e996be89260
--- /dev/null
+++ b/tests/basic/xlator-pass-through-sanity.t
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+. $(dirname $0)/../include.rc
+. $(dirname $0)/../volume.rc
+
+cleanup;
+
+TEST glusterd
+TEST pidof glusterd
+
+TEST $CLI volume create $V0 $H0:$B0/${V0}
+TEST $CLI volume set $V0 performance.io-cache-pass-through enable;
+TEST $CLI volume start $V0;
+
+## Mount FUSE
+TEST $GFS -s $H0 --volfile-id $V0 $M1;
+
+# This test covers lookup, mkdir, mknod, symlink, link, rename,
+# create operations
+TEST $(dirname $0)/rpc-coverage.sh $M1
+
+cleanup;