diff options
author | Michael Adam <obnox@samba.org> | 2015-11-30 11:38:15 +0100 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-12-11 02:06:17 -0800 |
commit | b0724fc67d107ecd0c0b281f4be1b8eeef9ba6d3 (patch) | |
tree | 085fa92d10559d4d810841055a4793ed968de69e | |
parent | 8df88683c334c0652770e8e0fcec59dbc8bb5748 (diff) |
tests:bugs:fuse: add setup.sh and teardown.sh to facilitate manual testing
Change-Id: Ia8fe402663bbdabdc10c18ab42a2063466eb42b6
BUG: 1286735
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-on: http://review.gluster.org/12830
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
-rwxr-xr-x | tests/bugs/fuse/setup.sh | 20 | ||||
-rwxr-xr-x | tests/bugs/fuse/teardown.sh | 5 |
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs/fuse/setup.sh b/tests/bugs/fuse/setup.sh new file mode 100755 index 00000000000..d44d8dba027 --- /dev/null +++ b/tests/bugs/fuse/setup.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +. $(dirname $0)/../../include.rc +#. $(dirname $0)/../../volume.rc + +cleanup; + +#Basic checks +TEST glusterd +TEST pidof glusterd +TEST $CLI volume info + +#Create a distributed volume +TEST $CLI volume create $V0 $H0:$B0/${V0}{1..2}; +TEST $CLI volume start $V0 + +# Mount FUSE without selinux: +TEST glusterfs -s $H0 --volfile-id $V0 $@ $M0 + +echo "Gluster started and volume '$V0' mounted under '$M0'" diff --git a/tests/bugs/fuse/teardown.sh b/tests/bugs/fuse/teardown.sh new file mode 100755 index 00000000000..5d57974e1f9 --- /dev/null +++ b/tests/bugs/fuse/teardown.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +. $(dirname $0)/../../include.rc + +cleanup; |