cifs: skip tests that need POSIX support for nounix mounts

CIFS/SMB protocol without POSIX extensions doesn't support operations
with symbolic links and advisory byte-range locks from the same process.
Add checks these features and use them in generic tests that require
such operations.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Reviewed-by: Steve French <smfrench@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Pavel Shilovsky
2014-09-08 22:26:52 +10:00
committed by Dave Chinner
parent 0e9141e49d
commit beb211475b
6 changed files with 29 additions and 6 deletions
+2 -6
View File
@@ -67,13 +67,9 @@ _touch()
# real QA test starts here
_supported_fs generic
_require_test
_require_test_symlinks
# IRIX UDF does not support symlinks
if [ $FSTYP == 'udf' ]; then
_supported_os Linux
else
_supported_os Linux IRIX
fi
_supported_os Linux IRIX
cd $TEST_DIR