diff options
author | Jim Meyering <jim@meyering.net> | 2004-03-10 18:06:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-03-10 18:06:04 +0000 |
commit | f9a3bc012b2078b1a31f2748687ac0b1ac80c7dd (patch) | |
tree | 878d3c64c9dc0cd906aceaba076acbb890a11b3f /tests/du/deref-args | |
parent | 0814035fb5fb426f184a310de73d70daae43d26a (diff) | |
download | coreutils-f9a3bc012b2078b1a31f2748687ac0b1ac80c7dd.tar.xz |
Also convert sizes in the 70-79 kB range,
so that this test works with SELinux-enable systems.
Based on a patch from Tim Waugh.
Diffstat (limited to 'tests/du/deref-args')
-rwxr-xr-x | tests/du/deref-args | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/du/deref-args b/tests/du/deref-args index b45aac703..01e073a9b 100755 --- a/tests/du/deref-args +++ b/tests/du/deref-args @@ -35,8 +35,9 @@ du -D slink/ | sed 's/^[0-9][0-9]* //' >> out # 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 +# On tmpfs, I get 64. Similarly, on SELinux-enabled systems, file security +# context labels take up filesystem space, making du print 72 here. +du -kD slink-to-64k | sed 's/^[67][0-9]/64/' >> out cat <<\EOF > exp slink/a slink |