Description: Skip TestOpenByHandleAt if openMountByID fails Prevent TestOpenByHandleAt from failing under pbuilder chroots. Thanks to Gianfranco Costamagna for providing an initial patch. Author: Anthony Fok Origin: vendor Bug-Debian: https://bugs.debian.org/935935 Forwarded: not-needed Last-Update: 2020-02-21 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/unix/syscall_linux_test.go +++ b/unix/syscall_linux_test.go @@ -841,7 +841,8 @@ h.Size(), h.Type(), h.Bytes()) mount, err := openMountByID(mountID) if err != nil { - t.Fatalf("openMountByID: %v", err) + // t.Fatalf changed to t.Skipf to prevent FAIL under pbuilder + t.Skipf("openMountByID: %v", err) } defer mount.Close()