summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-08-12 12:06:25 -0400
committerSteve Dickson <steved@redhat.com>2014-08-12 14:39:55 -0400
commit99eb35e09db27e797fbb0c0a0ab385ed683b0f9b (patch)
tree834c2115fcd526e8d3e49339421fb4d598b9d3a0 /server
parent7cad253f514968a860afc34ccd9cecb0efada7df (diff)
downloadcthon04-99eb35e09db27e797fbb0c0a0ab385ed683b0f9b.tar.gz
cthon04-99eb35e09db27e797fbb0c0a0ab385ed683b0f9b.tar.xz
cthon04-99eb35e09db27e797fbb0c0a0ab385ed683b0f9b.zip
Add SMB/CIFS mounts support
The connectathon tests are also useful for testing SMB/CIFS filesystems but when running without unix extensions, some tests are expected to fail. Add a "CIFS mode" that skips tests that are known to fail when running on CIFS filesystems without POSIX extensions. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'server')
-rwxr-xr-xserver5
1 files changed, 3 insertions, 2 deletions
diff --git a/server b/server
index 91ffd80..6ee7a66 100755
--- a/server
+++ b/server
@@ -19,7 +19,7 @@
Program=`basename $0`
InitFile="./tests.init"
-USAGE="usage: $Program [-a|-b|-g|-s|-l|-c] [-f|-t|-n|-h] [-o mnt_options] [-p server_path] [-m mntpoint] [-N passes] server_name"
+USAGE="usage: $Program [-a|-b|-g|-s|-l|-c] [-f|-t|-n|-h|-C] [-o mnt_options] [-p server_path] [-m mntpoint] [-N passes] server_name"
# defaults
. $InitFile
@@ -27,7 +27,7 @@ export PATH CFLAGS LIBS MOUNT UMOUNT MNTOPTIONS FSOPT
passes="1"
-set - `getopt abcfF:glhm:N:no:p:st $*`
+set - `getopt abcCfF:glhm:N:no:p:st $*`
if [ $? != 0 ]
then
@@ -40,6 +40,7 @@ do
-a|-b|-g|-s|-l) TEST=$c; shift ;;
-f|-n|-t) TESTARG=$c; shift ;;
-c) cachefs="yes"; shift ;;
+ -C) CIFS="yes"; export CIFS; shift ;;
-h) HARDLINKS=n; export HARDLINKS; shift ;;
-m) USRMNTPOINT=$2; shift; shift ;;
-o) MNTOPTIONS=$2; export MNTOPTIONS;