summaryrefslogtreecommitdiff
path: root/tests/ls/color-dtype-dir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls/color-dtype-dir')
-rwxr-xr-xtests/ls/color-dtype-dir5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ls/color-dtype-dir b/tests/ls/color-dtype-dir
index f3f9ee9fd..41c8bf3de 100755
--- a/tests/ls/color-dtype-dir
+++ b/tests/ls/color-dtype-dir
@@ -4,7 +4,7 @@
# directories the same as the first one -- but only on a file system
# with dirent.d_type support.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006-2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -33,6 +33,9 @@ t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0
trap '(exit $?); exit $?' 1 2 13 15
+# Don't let a different umask perturb the results.
+umask 22
+
framework_failure=0
mkdir -p $tmp || framework_failure=1
cd $tmp || framework_failure=1