summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-27 13:24:20 +0200
committerJim Meyering <meyering@redhat.com>2008-05-27 13:30:44 +0200
commitc6c9e8730e23af5d96a3b25331b0510112422abb (patch)
tree0f3feaaa13695cc8c96bc4f8d795487d25cf93ac /tests/mkdir
parent8976a2b27e9f1755a6d9ee3bc85602aea007ec5d (diff)
downloadcoreutils-c6c9e8730e23af5d96a3b25331b0510112422abb.tar.gz
coreutils-c6c9e8730e23af5d96a3b25331b0510112422abb.tar.bz2
coreutils-c6c9e8730e23af5d96a3b25331b0510112422abb.zip
prefer abs_srcdir over abs_top_srcdir, ...
so that e.g., tests/* may refer to absolute names without hard-coding the name of the containing directory (tests/, here). * tests/check.mk (TESTS_ENVIRONMENT): Define abs_srcdir. * tests/pr/pr-tests: Use $abs_srcdir/pr not $abs_top_srcdir/tests/pr. * tests/chmod/c-option: Use $abs_srcdir, not $abs_top_srcdir/tests. * tests/cp/cp-parents: Likewise. * tests/mkdir/parents: Likewise. * tests/mkdir/perm: Likewise. * tests/mv/acl: Likewise. * tests/mv/backup-is-src: Likewise. * tests/mv/hard-link-1: Likewise. * tests/mv/into-self-2: Likewise. * tests/mv/leak-fd: Likewise. * tests/mv/mv-special-1: Likewise. * tests/mv/part-fail: Likewise. * tests/mv/part-hardlink: Likewise. * tests/mv/part-rename: Likewise. * tests/mv/part-symlink: Likewise. * tests/mv/partition-perm: Likewise. * tests/mv/sticky-to-xpart: Likewise. * tests/mv/to-symlink: Likewise. * tests/rm/one-file-system: Likewise. * tests/sample-test: Likewise.
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-xtests/mkdir/parents2
-rwxr-xr-xtests/mkdir/perm2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/mkdir/parents b/tests/mkdir/parents
index 72fb05a4b..2aee87e6f 100755
--- a/tests/mkdir/parents
+++ b/tests/mkdir/parents
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
fi
. $top_srcdir/tests/test-lib.sh
-. "$abs_top_srcdir/tests/setgid-check"
+. "$abs_srcdir/setgid-check"
mkdir -m 700 e-dir || framework_failure
diff --git a/tests/mkdir/perm b/tests/mkdir/perm
index 5e010139d..6df1d4339 100755
--- a/tests/mkdir/perm
+++ b/tests/mkdir/perm
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
fi
. $top_srcdir/tests/test-lib.sh
-. "$abs_top_srcdir/tests/setgid-check"
+. "$abs_srcdir/setgid-check"
working_umask_or_skip_