From 90bc2fe272debe8540a59b9a1e565c43e87e4635 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 20 Apr 2008 23:29:19 +0200 Subject: 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 83e96e61b..b8fdc5795 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -22,8 +22,7 @@ EXTRA_DIST = \ sample-test \ setgid-check \ sparse-file \ - test-lib.sh \ - umask-check + test-lib.sh ## N O T E :: Please do not add new tests/ directories. ## There are too many already. Put new tests in misc/. -- cgit v1.2.3-54-g00ecf