tests: convert umask-check to a function
authorJim Meyering <meyering@redhat.com>
Sun, 20 Apr 2008 21:29:19 +0000 (23:29 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 20 Apr 2008 22:02:00 +0000 (00:02 +0200)
commit90bc2fe272debe8540a59b9a1e565c43e87e4635
tree83a9f9df5273d37130d64cd707e87d75b902284c
parentc51900a6bd655e7dd596fa6888a0e521e6b5a6bd
tests: convert umask-check to a function

* tests/test-lib.sh (working_umask_or_skip_): New function, from...
* tests/umask-check: ...here.  Remove file.
* tests/Makefile.am (EXTRA_DIST): Remove umask-check.
* tests/mkdir/perm: Use the function rather than sourcing the file.
* tests/cp/cp-parents: Likewise.
* tests/cp/parent-perm: Likewise.
Bruno Haible reported that parent-perm was failing to run umask-check.
tests/Makefile.am
tests/cp/cp-parents
tests/cp/parent-perm
tests/mkdir/perm
tests/test-lib.sh
tests/umask-check [deleted file]