Subject: Re: bug#64779: [PATCH core-updates] gnu: coreutils: Skip tests which are broken on btrfs

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 21 Jul 2023 21:55:17 -0400

Hello,

Ryan Sundberg <[email-masked]> writes:

> When building coreutils on a BTRFS filesystem, this test case
> consistently fails.
>
> * gnu/packages/base.scm (coreutils): Skip tests/cp/reflink-auto.sh
> ---
>  gnu/packages/base.scm | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
> index 1fdfaf8a57..a9dab0b30f 100644
> --- a/gnu/packages/base.scm
> +++ b/gnu/packages/base.scm
> @@ -464,7 +464,11 @@ (define-public coreutils
>                                 ;; there might be some environmental factor
>                                 ;; here
>                                 ((" test-tls\\$\\(EXEEXT\\) ") " ")))
> -                           '())
> +                           '((substitute*
> +                               ;; This test fails on BTRFS
> +                               '("tests/cp/reflink-auto.sh")
> +                               (("^#!.*" all)
> +                                (string-append all "exit 77;\n")))))

Could you please report the issue to upstream, and add a comment with a
reference to the open issue?

-- 
Thanks,
Maxim