prefer abs_srcdir over abs_top_srcdir, ...
authorJim Meyering <meyering@redhat.com>
Tue, 27 May 2008 11:24:20 +0000 (13:24 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 27 May 2008 11:30:44 +0000 (13:30 +0200)
commitc6c9e8730e23af5d96a3b25331b0510112422abb
tree0f3feaaa13695cc8c96bc4f8d795487d25cf93ac
parent8976a2b27e9f1755a6d9ee3bc85602aea007ec5d
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.
21 files changed:
tests/check.mk
tests/chmod/c-option
tests/cp/cp-parents
tests/mkdir/parents
tests/mkdir/perm
tests/mv/acl
tests/mv/backup-is-src
tests/mv/hard-link-1
tests/mv/into-self-2
tests/mv/leak-fd
tests/mv/mv-special-1
tests/mv/part-fail
tests/mv/part-hardlink
tests/mv/part-rename
tests/mv/part-symlink
tests/mv/partition-perm
tests/mv/sticky-to-xpart
tests/mv/to-symlink
tests/pr/pr-tests
tests/rm/one-file-system
tests/sample-test