diff options
author | Ram Raja <rraja@redhat.com> | 2013-04-30 00:38:04 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-05-10 14:15:08 -0700 |
commit | 1e62ff42dfcf84ded563f710cb8da92fa0f41936 (patch) | |
tree | 5e0375d69af015878c7a96e643ddebe54af912eb /tests/features/glupy.t | |
parent | 40d026e10013f533c4fee33b87dabc4ca11c94b3 (diff) |
glupy: Importing Jeff's glupy project into glusterfs
Change-Id: I3891ef6eaf6ede7c8cbedc3298ce2501a69b2b05
BUG: 961856
Original-author: Jeff Darcy <jdarcy@redhat.com>
Signed-off-by: Ram Raja <rraja@redhat.com>
Reviewed-on: http://review.gluster.org/4906
Reviewed-by: Justin Clift <jclift@redhat.com>
Tested-by: Justin Clift <jclift@redhat.com>
Diffstat (limited to 'tests/features/glupy.t')
-rwxr-xr-x | tests/features/glupy.t | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/features/glupy.t b/tests/features/glupy.t new file mode 100755 index 00000000000..49bf11df516 --- /dev/null +++ b/tests/features/glupy.t @@ -0,0 +1,29 @@ +#!/bin/bash + +. $(dirname $0)/../include.rc + +cleanup; + +TEST mkdir -p $B0/glupytest +cat > $B0/glupytest.vol <<EOF +volume vol-posix + type storage/posix + option directory $B0/glupytest +end-volume + +volume vol-glupy + type features/glupy + option module-name helloworld + subvolumes vol-posix +end-volume +EOF + +TEST glusterfs -f $B0/glupytest.vol $M0; + +TEST touch $M0/filename; +EXPECT "filename" ls $M0 +TEST rm -f $M0/filename; + +TEST umount -l $M0; + +cleanup; |