Re: more reflink fixes

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



And another one:

---
>From 36919b5d1c84b0ceb8b9fc5c33ec1730d10e5d1c Mon Sep 17 00:00:00 2001
From: Christoph Hellwig <hch@xxxxxx>
Date: Thu, 4 Feb 2016 16:42:12 +0100
Subject: xfstests: don't run 907 and 908 on NFS

NFS can't interrupt pending clone operations as they are a remote
operation.  Skip the two tests that rely on this as they'll mess up
all following tests otherwise.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 tests/generic/907 | 2 ++
 tests/generic/908 | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/generic/907 b/tests/generic/907
index fec22c8..e35e067 100755
--- a/tests/generic/907
+++ b/tests/generic/907
@@ -47,6 +47,8 @@ _require_scratch_reflink
 _require_cp_reflink
 _require_command "$(which timeout)" "timeout"
 
+test "$FSTYP" == "nfs"  && _notrun "NFS can't interrupt clone operations"
+
 rm -f "$seqres.full"
 
 echo "Format and mount"
diff --git a/tests/generic/908 b/tests/generic/908
index 09a3101..c977ed6 100755
--- a/tests/generic/908
+++ b/tests/generic/908
@@ -47,6 +47,8 @@ _require_scratch_reflink
 _require_cp_reflink
 _require_command "$(which timeout)" "timeout"
 
+test "$FSTYP" == "nfs"  && _notrun "NFS can't interrupt clone operations"
+
 rm -f "$seqres.full"
 
 echo "Format and mount"
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux