summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-06 18:35:40 +0200
committerJim Meyering <meyering@redhat.com>2009-09-06 18:40:40 +0200
commit467cc9bb4395da8de01208253d7d861c72f2a428 (patch)
tree9c12e454a1f62533049a4792d8b3654e5c7ebbed
parentd54376db68adf655b5f09855442b2983fc2f4f3e (diff)
downloadcoreutils-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>.
-rw-r--r--THANKS2
-rwxr-xr-xtests/misc/ls-misc2
2 files changed, 4 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index 961785e0c..0c5bb4088 100644
--- 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
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};