]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: ls-misc: don't let a bogus umask cause test failure
authorJim Meyering <meyering@redhat.com>
Sun, 6 Sep 2009 16:35:40 +0000 (18:35 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 6 Sep 2009 16:40:40 +0000 (18:40 +0200)
* 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>.

THANKS
tests/misc/ls-misc

diff --git a/THANKS b/THANKS
index 961785e0c5c4b4fe9dec7f6a2a5c2d2be99fbf06..0c5bb4088b824a0a5b406a5add7e9dae46d9ab19 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -386,6 +386,7 @@ Matthew Swift                       swift@alum.mit.edu
 Matthew Woehlke                     mw_triad@users.sourceforge.net
 Matthias Urlichs                    smurf@noris.de
 Matti Aarnio                        matti.aarnio@zmailer.org
+Mathias Brodala                     info@noctus.net
 Mattias Wadenstein                  maswan@acc.umu.se
 Max Chang                           maxchang@ucla.edu
 Meelis Roos                         mroos@tartu.cyber.ee
@@ -562,6 +563,7 @@ Tim Waugh                           twaugh@redhat
 Tobias Stoeckmann                   tobias@bugol.de
 Toby Peterson                       toby@opendarwin.org
 Todd A. Jacobs                      tjacobs@codegnome.org
+Tom Fitzhenry                       tom@tom-fitzhenry.me.uk
 Tom Haynes                          thomas@netapp.com
 Tom Quinn                           trq@dionysos.thphys.ox.ac.uk
 Tomas Pospisek                      tpo@sourcepole.ch
index 63810a559bb7289cd889e5ec7cefed933d6618a7..a734d5fb9764be6b3f930087a4ffd4837c085b5a 100755 (executable)
@@ -239,6 +239,8 @@ my @Tests =
      ],
     );
 
+umask 022;
+
 # Start with an unset LS_COLORS environment variable.
 delete $ENV{LS_COLORS};