bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Tim Waugh
Subject: [patch] coreutils-5.2.0: fix du/deref-args test
Date: Fri, 5 Mar 2004 14:37:53 +0000
User-agent: Mutt/1.4.1i

See:
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
 cat <<\EOF > exp
 slink/a
 slink

Tim.
*/




reply via email to

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