path: root/tests/basic
diff options
authorAnand Avati <>2012-10-20 00:14:13 -0700
committerVijay Bellur <>2012-11-19 01:17:47 -0800
commit28994167a7fbbb35370b515eb72a9aaf49f58ac4 (patch)
tree7d743623fb7b8fb2f75b7fa4e3bedc1790ab4cca /tests/basic
parent6149303d55c1a240ac878bbee7928cc7eb071447 (diff)
fuse-bridge: fix posix-only configuration
Recent changes in fuse-resolver had broken the use case of having a trivial configuration with only storage/posix translator. Fix it and include a regression test to avoid breakage in the future. Change-Id: I85cbcac4b5c2d3517dd03fd3dc6d07610697981b BUG: 868478 Signed-off-by: Anand Avati <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Brian Foster <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'tests/basic')
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/basic/posixonly.t b/tests/basic/posixonly.t
new file mode 100755
index 000000000..b9de317a4
--- /dev/null
+++ b/tests/basic/posixonly.t
@@ -0,0 +1,30 @@
+. $(dirname $0)/../include.rc
+TEST mkdir -p $B0/posixonly
+cat > $B0/posixonly.vol <<EOF
+volume poisxonly
+ type storage/posix
+ option directory $B0/posixonly
+TEST glusterfs -f $B0/posixonly.vol $M0;
+TEST touch $M0/filename;
+TEST stat $M0/filename;
+TEST mkdir $M0/dirname;
+TEST stat $M0/dirname;
+TEST touch $M0/dirname/filename;
+TEST stat $M0/dirname/filename;
+TEST ln $M0/dirname/filename $M0/dirname/linkname;
+TEST chown 100:100 $M0/dirname/filename;
+TEST chown 100:100 $M0/dirname;
+TEST rm -rf $M0/filename $M0/dirname;
+TEST umount $M0;