maint: fix typos found by misspellings

* doc/coreutils.texi (df invocation): s/occurence/occurrence/.
* tests/df/skip-rootfs.sh: s/supressed/suppressed/
This commit is contained in:
Bernhard Voelker 2012-12-14 10:45:21 +01:00
parent 4f62d2fe28
commit 9c506806fa
2 changed files with 4 additions and 3 deletions

View File

@ -10601,8 +10601,9 @@ Normally the disk space is printed in units of
Non-integer quantities are rounded up to the next higher unit. Non-integer quantities are rounded up to the next higher unit.
For bind mounts and without arguments, @command{df} only outputs the statistics For bind mounts and without arguments, @command{df} only outputs the statistics
for the first occurence of that device in the list of file systems (@var{mtab}), for the first occurrence of that device in the list of file systems
i.e., it hides duplicate entries, unless the @option{-a} option is specified. (@var{mtab}), i.e., it hides duplicate entries, unless the @option{-a} option is
specified.
By default, @command{df} omits the early-boot pseudo file system type By default, @command{df} omits the early-boot pseudo file system type
@samp{rootfs}, unless the @option{-a} option is specified or that file system @samp{rootfs}, unless the @option{-a} option is specified or that file system

View File

@ -25,7 +25,7 @@ df || skip_ "df fails"
df -a >out || fail=1 df -a >out || fail=1
grep '^rootfs' out || skip_ "no rootfs in mtab" grep '^rootfs' out || skip_ "no rootfs in mtab"
# Ensure that rootfs is supressed when no options is specified. # Ensure that rootfs is suppressed when no options is specified.
df >out || fail=1 df >out || fail=1
grep '^rootfs' out && { fail=1; cat out; } grep '^rootfs' out && { fail=1; cat out; }