Tim Waugh <[EMAIL PROTECTED]> 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


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to