diff options
| -rw-r--r-- | 5/regr/spec_files/client1.vol | 10 | ||||
| -rw-r--r-- | 5/regr/spec_files/server1.vol | 24 | ||||
| -rwxr-xr-x | 5/regr/testcase | 18 |
3 files changed, 52 insertions, 0 deletions
diff --git a/5/regr/spec_files/client1.vol b/5/regr/spec_files/client1.vol new file mode 100644 index 0000000..5f63507 --- /dev/null +++ b/5/regr/spec_files/client1.vol @@ -0,0 +1,10 @@ +volume remote1 + type protocol/client + option transport-type socket + option address-family inet + option remote-host 127.0.0.1 + option remote-port 9302 + option remote-subvolume brick +end-volume + + diff --git a/5/regr/spec_files/server1.vol b/5/regr/spec_files/server1.vol new file mode 100644 index 0000000..a6e782c --- /dev/null +++ b/5/regr/spec_files/server1.vol @@ -0,0 +1,24 @@ +volume posix + type storage/posix + option directory /share/tickets/5/regr/export/export1 +end-volume + +volume locks + type features/locks + subvolumes posix +end-volume + +volume brick + type performance/io-threads + option thread-count 8 + subvolumes locks +end-volume + +volume server + type protocol/server + option transport-type tcp + option listen-port 9302 + option auth.addr.brick.allow * + subvolumes brick +end-volume + diff --git a/5/regr/testcase b/5/regr/testcase new file mode 100755 index 0000000..5184183 --- /dev/null +++ b/5/regr/testcase @@ -0,0 +1,18 @@ +#!/bin/bash + +description="# (5) mount.glusterfs script does not support TRACE log level" +comments="#TRACE log level" + +source ../../init + +start_glusterfs --no-clients + +if [ $(mount -t glusterfs-$VERSION -o defaults,noatime,nodiratime,log-file=$LOGDIR/$(hostname)-client1.log,log-level=TRACE $SPECDIR/client1.vol $MOUNTDIR/client1 | wc -l) -ne 0 ] +then + not_ok $description + comment $comments +else + ok $description +fi + +cleanup_glusterfs |
