mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
The test introduced in CL 284352 breaks on several builders, either with IoctlFileDedupeRange returning ENOTTY (as already seen for android in the TryBot run) or returning EINVAL in the FileDedupeRange.Status field. Both seem to indicate that the underlying filesystem doesn't support deduplication, so skip the test in these cases. Also rename the test to indicate the func it is testing. Change-Id: I29553a5fc95f98335cb233f05d4c2dfb5640dc4c Reviewed-on: https://go-review.googlesource.com/c/sys/+/295911 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
22 KiB
22 KiB