summaryrefslogtreecommitdiffstats
path: root/basic
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 /basic
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 'basic')
-rwxr-xr-xbasic/runtests8
1 files changed, 5 insertions, 3 deletions
diff --git a/basic/runtests b/basic/runtests
index 24b0afc..c4f51f1 100755
--- a/basic/runtests
+++ b/basic/runtests
@@ -37,10 +37,12 @@ echo ""
# Setattr, getattr and lookup tests
echo ""
-./test4 $TESTARG
+if [ "$CIFS" != "yes" ]; then
+ ./test4 $TESTARG
# Getattr and lookup tests
-# echo ""
-# ./test4a $TESTARG
+else
+ ./test4a $TESTARG
+fi
# Write and read tests
echo ""