bug-coreutils
[Top][All Lists]
Advanced

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

Re: [patch] coreutils-5.2.0: fix du/deref-args test


From: Jim Meyering
Subject: Re: [patch] coreutils-5.2.0: fix du/deref-args test
Date: Wed, 10 Mar 2004 19:05:49 +0100

Tim Waugh <address@hidden> wrote:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117556
>
> With SELinux enabled, the file security context labels take up
> filesystem room, and I needed to make this change to get 'make check'
> to pass:
>
> --- coreutils-5.2.0/tests/du/deref-args.selinux       2004-03-05 
> 12:20:01.000000000 +0000
> +++ coreutils-5.2.0/tests/du/deref-args       2004-03-05 12:21:04.000000000 
> +0000
> @@ -34,7 +34,7 @@
>  # Ensure that -D makes du dereference even symlinks to non-directories.
>  # The sed command maps the 68 I get on an ext3 file system to the 64 I 
> expected.
>  # On tmpfs, I get 64.
> -du -kD slink-to-64k | sed 's/^6[0-9]/64/' >> out
> +du -kD slink-to-64k | sed 's/^6[0-9]\|72/64/' >> out

Thanks for reporting that.
I've done this instead, since sed's \| isn't portable.

  du -kD slink-to-64k | sed 's/^[67][0-9]/64/' >> out




reply via email to

[Prev in Thread] Current Thread [Next in Thread]