summaryrefslogtreecommitdiff
path: root/tests/umask-check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/umask-check')
-rw-r--r--tests/umask-check9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/umask-check b/tests/umask-check
index bb0fa3881..238d6587c 100644
--- a/tests/umask-check
+++ b/tests/umask-check
@@ -1,7 +1,7 @@
# -*- sh -*-
# Disable the current test if umask doesn't work as usual.
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 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
@@ -27,10 +27,5 @@ rm -f file1 file2
case $perms in
*'
-'*)
- cat <<EOF >&2
-$0: Since it looks like you're running this test in a directory with
-something other than the usual umask semantics, we're skipping this test.
-EOF
- (exit 77); exit 77
+'*) skip_test_ 'your build directory has unusual umask semantics'
esac