generic/304: fix high offset
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 18 Feb 2016 23:50:58 +0000 (10:50 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:50:58 +0000 (10:50 +1100)
"Invalid argument" is a better response to an impossibly high offset
dedupe request than "extents don't match", so change the test.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/304.out

index 4af2a391a390b6dbcf420f89dfe15977dc99e551..7b5ff0e7a3ec40aecf2f55ff0250182ba7c30de6 100644 (file)
@@ -8,7 +8,7 @@ dedupe: Invalid argument
 Dedupe past maximum file size in dest file (should fail)
 dedupe: Invalid argument
 Dedupe high offset to low offset
-dedupe: Extents did not match.
+dedupe: Invalid argument
 Dedupe past source file EOF (should fail)
 dedupe: Invalid argument
 Dedupe max size at nonzero offset (should fail)