diff options
author | Jim Meyering <meyering@redhat.com> | 2009-09-06 18:35:40 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-09-06 18:40:40 +0200 |
commit | 467cc9bb4395da8de01208253d7d861c72f2a428 (patch) | |
tree | 9c12e454a1f62533049a4792d8b3654e5c7ebbed /tests | |
parent | d54376db68adf655b5f09855442b2983fc2f4f3e (diff) | |
download | coreutils-467cc9bb4395da8de01208253d7d861c72f2a428.tar.xz |
tests: ls-misc: don't let a bogus umask cause test failure
* tests/misc/ls-misc: Set umask to 022. A umask setting permitting
world-write access, e.g., umask o+w, would cause this test to fail.
Report by Mathias Brodala and analysis by Tom Fitzhenry in
<http://bugs.debian.org/544965>.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/ls-misc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc index 63810a559..a734d5fb9 100755 --- a/tests/misc/ls-misc +++ b/tests/misc/ls-misc @@ -239,6 +239,8 @@ my @Tests = ], ); +umask 022; + # Start with an unset LS_COLORS environment variable. delete $ENV{LS_COLORS}; |