From c6c9e8730e23af5d96a3b25331b0510112422abb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 May 2008 13:24:20 +0200 Subject: 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. --- tests/rm/one-file-system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rm/one-file-system') diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system index eb8482de8..0030f3437 100755 --- a/tests/rm/one-file-system +++ b/tests/rm/one-file-system @@ -26,7 +26,7 @@ require_root_ # If used, these must *follow* test-lib.sh. cleanup_() { rm -rf "$other_partition_tmpdir"; } -. "$abs_top_srcdir/tests/other-fs-tmpdir" +. "$abs_srcdir/other-fs-tmpdir" t=$other_partition_tmpdir mkdir -p a/b $t/y -- cgit v1.2.3-70-g09d2