]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
in 280+ tests/* files, use $srcdir, not $top_srcdir/tests
authorJim Meyering <meyering@redhat.com>
Tue, 27 May 2008 11:45:44 +0000 (13:45 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 27 May 2008 11:48:32 +0000 (13:48 +0200)
282 files changed:
tests/Makefile.am
tests/check.mk
tests/chgrp/basic
tests/chgrp/default-no-deref
tests/chgrp/deref
tests/chgrp/no-x
tests/chgrp/posix-H
tests/chgrp/recurse
tests/chmod/c-option
tests/chmod/equal-x
tests/chmod/equals
tests/chmod/inaccessible
tests/chmod/no-x
tests/chmod/octal
tests/chmod/setgid
tests/chmod/thru-dangling
tests/chmod/umask-x
tests/chmod/usage
tests/chown/basic
tests/chown/deref
tests/chown/preserve-root
tests/chown/separator
tests/cp/abuse
tests/cp/acl
tests/cp/backup-1
tests/cp/backup-dir
tests/cp/backup-is-src
tests/cp/cp-HL
tests/cp/cp-a-selinux
tests/cp/cp-deref
tests/cp/cp-i
tests/cp/cp-mv-backup
tests/cp/cp-parents
tests/cp/deref-slink
tests/cp/dir-rm-dest
tests/cp/dir-slash
tests/cp/dir-vs-file
tests/cp/existing-perm-race
tests/cp/fail-perm
tests/cp/file-perm-race
tests/cp/into-self
tests/cp/link
tests/cp/link-no-deref
tests/cp/link-preserve
tests/cp/no-deref-link1
tests/cp/no-deref-link2
tests/cp/no-deref-link3
tests/cp/parent-perm
tests/cp/parent-perm-race
tests/cp/perm
tests/cp/preserve-2
tests/cp/preserve-gid
tests/cp/proc-zero-len
tests/cp/r-vs-symlink
tests/cp/same-file
tests/cp/slink-2-slink
tests/cp/sparse
tests/cp/special-bits
tests/cp/special-f
tests/cp/src-base-dot
tests/cp/symlink-slash
tests/cp/thru-dangling
tests/dd/misc
tests/dd/not-rewound
tests/dd/skip-seek2
tests/dd/unblock-sync
tests/du/2g
tests/du/8gb
tests/du/basic
tests/du/deref
tests/du/deref-args
tests/du/exclude
tests/du/fd-leak
tests/du/hard-link
tests/du/inacc-dest
tests/du/inacc-dir
tests/du/inaccessible-cwd
tests/du/long-from-unreadable
tests/du/long-sloop
tests/du/no-deref
tests/du/no-x
tests/du/one-file-system
tests/du/restore-wd
tests/du/slash
tests/du/slink
tests/du/trailing-slash
tests/du/two-args
tests/install/basic-1
tests/install/create-leading
tests/install/d-slashdot
tests/install/trap
tests/ln/backup-1
tests/ln/hard-backup
tests/ln/misc
tests/ln/sf-1
tests/ln/target-1
tests/ls/color-dtype-dir
tests/ls/dangle
tests/ls/dired
tests/ls/file-type
tests/ls/follow-slink
tests/ls/infloop
tests/ls/inode
tests/ls/m-option
tests/ls/nameless-uid
tests/ls/no-arg
tests/ls/proc-selinux-segfault
tests/ls/recursive
tests/ls/rt-1
tests/ls/stat-dtype
tests/ls/stat-failed
tests/ls/stat-free-symlinks
tests/ls/stat-vs-dirent
tests/ls/symlink-slash
tests/ls/x-option
tests/misc/arch
tests/misc/cat-proc
tests/misc/chcon
tests/misc/chcon-fail
tests/misc/close-stdout
tests/misc/csplit
tests/misc/date-sec
tests/misc/df
tests/misc/df-P
tests/misc/false-status
tests/misc/fmt-long-line
tests/misc/groups-dash
tests/misc/groups-version
tests/misc/head-c
tests/misc/head-pos
tests/misc/help-version
tests/misc/id-context
tests/misc/ls-time
tests/misc/mknod
tests/misc/nice
tests/misc/nl
tests/misc/nohup
tests/misc/od-N
tests/misc/od-x8
tests/misc/pathchk1
tests/misc/printf
tests/misc/printf-hex
tests/misc/printf-surprise
tests/misc/ptx-overrun
tests/misc/pwd-long
tests/misc/pwd-unreadable-parent
tests/misc/readlink-fp-loop
tests/misc/runcon-no-reorder
tests/misc/selinux
tests/misc/shred-exact
tests/misc/shred-remove
tests/misc/shuf
tests/misc/sort-compress
tests/misc/sort-rand
tests/misc/split-a
tests/misc/split-fail
tests/misc/split-l
tests/misc/stat-fmt
tests/misc/stty
tests/misc/stty-invalid
tests/misc/stty-row-col
tests/misc/sum-sysv
tests/misc/tac-continue
tests/misc/tee
tests/misc/tee-dash
tests/misc/wc-files0
tests/mkdir/p-1
tests/mkdir/p-2
tests/mkdir/p-3
tests/mkdir/p-slashdot
tests/mkdir/p-thru-slink
tests/mkdir/p-v
tests/mkdir/parents
tests/mkdir/perm
tests/mkdir/selinux
tests/mkdir/special-1
tests/mkdir/t-slash
tests/mkdir/writable-under-readonly
tests/mv/acl
tests/mv/atomic
tests/mv/atomic2
tests/mv/backup-dir
tests/mv/backup-is-src
tests/mv/childproof
tests/mv/diag
tests/mv/dir-file
tests/mv/dir2dir
tests/mv/dup-source
tests/mv/force
tests/mv/hard-2
tests/mv/hard-3
tests/mv/hard-4
tests/mv/hard-link-1
tests/mv/hard-verbose
tests/mv/i-2
tests/mv/i-3
tests/mv/i-4
tests/mv/i-5
tests/mv/i-link-no
tests/mv/into-self
tests/mv/into-self-2
tests/mv/into-self-3
tests/mv/into-self-4
tests/mv/leak-fd
tests/mv/mv-special-1
tests/mv/no-target-dir
tests/mv/part-fail
tests/mv/part-hardlink
tests/mv/part-rename
tests/mv/part-symlink
tests/mv/partition-perm
tests/mv/perm-1
tests/mv/reply-no
tests/mv/sticky-to-xpart
tests/mv/to-symlink
tests/mv/trailing-slash
tests/mv/update
tests/readlink/can-e
tests/readlink/can-f
tests/readlink/can-m
tests/readlink/rl-1
tests/rm/cycle
tests/rm/dangling-symlink
tests/rm/deep-1
tests/rm/deep-2
tests/rm/dir-no-w
tests/rm/dir-nonrecur
tests/rm/dot-rel
tests/rm/empty-inacc
tests/rm/f-1
tests/rm/fail-2eperm
tests/rm/fail-eacces
tests/rm/hash
tests/rm/i-1
tests/rm/i-never
tests/rm/i-no-r
tests/rm/ignorable
tests/rm/inaccessible
tests/rm/interactive-always
tests/rm/interactive-once
tests/rm/ir-1
tests/rm/isatty
tests/rm/no-give-up
tests/rm/one-file-system
tests/rm/r-1
tests/rm/r-2
tests/rm/r-3
tests/rm/r-4
tests/rm/readdir-bug
tests/rm/rm1
tests/rm/rm2
tests/rm/rm3
tests/rm/rm4
tests/rm/rm5
tests/rm/sunos-1
tests/rm/unread2
tests/rm/unread3
tests/rm/v-slash
tests/rmdir/fail-perm
tests/rmdir/ignore
tests/rmdir/t-slash
tests/sample-test
tests/tail-2/append-only
tests/tail-2/assert
tests/tail-2/assert-2
tests/tail-2/big-4gb
tests/tail-2/infloop-1
tests/tail-2/proc-ksyms
tests/tail-2/start-middle
tests/tail-2/tail-n0f
tests/touch/dangling-symlink
tests/touch/dir-1
tests/touch/empty-file
tests/touch/fail-diag
tests/touch/fifo
tests/touch/no-create-missing
tests/touch/no-rights
tests/touch/not-owner
tests/touch/now-owned-by-other
tests/touch/obsolescent
tests/touch/read-only
tests/touch/relative

index bddf6e1005c0a4d634f1e834a0b0934f5c7c9a7b..1b7dcfa64ea914c9237d28130b99cc68746c5b58 100644 (file)
@@ -552,4 +552,4 @@ pr_data =                                   \
   pr/ttb3-FF                                   \
   pr/w72l24f-ll
 
-include $(top_srcdir)/tests/check.mk
+include $(srcdir)/check.mk
index 5cb8b781ea576bf17885a1806a94e4f13e0099ec..0e34e98de9a54a543446c3c7c3f1c98c479258ec 100644 (file)
@@ -48,15 +48,15 @@ built_programs = \
 # The rest are envvar settings that propagate build-related Makefile
 # variables to test scripts.
 TESTS_ENVIRONMENT =                            \
-  . $(top_srcdir)/tests/lang-default;          \
+  . $(srcdir)/lang-default;                    \
   tmp__=$$TMPDIR; test -d $tmp__ || tmp__=.;   \
-  . $(top_srcdir)/tests/envvar-check;          \
+  . $(srcdir)/envvar-check;                    \
   TMPDIR=$$tmp__; export TMPDIR;               \
   shell_or_perl_() {                           \
     if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then                        \
       if $(PERL) -e 'use warnings' > /dev/null 2>&1; then              \
        grep '^\#!/usr/bin/perl -T' "$$1" > /dev/null && T_=T || T_=;   \
-        $(PERL) -w$$T_ -I$(top_srcdir)/tests -MCoreutils               \
+        $(PERL) -w$$T_ -I$(srcdir) -MCoreutils                         \
              -M"CuTmpdir qw($$tst)" -- "$$1";  \
       else                                     \
        echo 1>&2 "$$tst: configure did not find a usable version of Perl," \
index 889a62c9a0ec32fce7e9b10289ec6d3f40e3c57c..03b8f21e4544776b724dc0efd142aff11735f630 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 
 fail=0
index ff484ed0057db73137397ecd6d85722e61b1d81f..f7ffc94b8aad89ecddbed96e28d4b6a2ba07536c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 
 set _ $groups; shift
index ce70b9d2fc7a8e06791110a3ccde92869c974244..e63a142282ba38f22424126a61b4c62e6f70db24 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 
 set _ $groups; shift
index 93dd520c3c86c5ba5329e00469eee889aca166f8..4cf168560465c96f096feecf9c67b65591a31203 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 skip_if_root_
 
index 0b18b44ce76e463aa0ff14f9c73fc8671a4c8a86..b376e4ac544c69943d396d15a2274e8383a16aa9 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 
 set _ $groups; shift
index 52b0e1973f6d634a3a1675ab20a233afd1dfbbcf..e4f90a6b75e36171a49e9aba1f7248dd6cb657b4 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 
 set _ $groups; shift
index 461b6faa25106dc95ffb1d88817586af0efbd7bb..42da4b2096f5190680f449527594da7a4dcc37ea 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 umask 0
 file=f
index 6400d029a475df3af0386de26dbb3c6b73b651e6..06c53c669827c50e408812931dcba13852b8af2b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 file=f
 touch $file || framework_failure
index 7ad2793e1b39b088a6f942b11d36023dca37af6a..9aca394c496593313817bf880915c9656cdde6cd 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch f || framework_failure
 
index 6e8744dbb0202da5f6c189974748e26fa1235436..70cdc9bff14584a74bb3d0a3b481a998b4558ec3 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p d/e || framework_failure
 chmod 0 d/e d || framework_failure
index 336041ce223a4535ed72af85ac10cea9fae0827f..b65295bd85cd9e2d2290c144596784b7ac6a8a5d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p d/no-x/y a/b || framework_failure
index 32c55120ca04412ee2d5553380aa5e880e930ed0..a7ddb4503ad425c028633884d8cac49b7af7d70e 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index c156354b80995b6cf4984b83fa3ed3eaacc646d9..30e92f05a9d72723e4e5508685c3d943f4fd4877 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 umask 0
 mkdir d || framework_failure
index 0924b47798b47a11211e30b1e156d77e8894fc42..055f9c59c8df3bd25201fddb0a75776a9d051d7f 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s non-existent dangle || framework_failure
 
index 1bc5033c68f7db26a29969f16e8f5eb392d43c29..13b6e9ac22fd6bc7703aa40a266c4de52bba0198 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 touch file
index 9c867c06f7d6fb94dfe2279ff06f6f6c9d7954f8..ba0ea73138885125de8fb8bf9ffe5b4cc7a0c4ad 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chmod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index fbe74a253721888ddab87424ab7d4118651cb77b..434a6bac2ce2fd910da6dba751320300a5207fa7 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chgrp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 touch f || framework_failure
index b7688c355c9b1c91fe1dd79e65c779d41b01cfa0..4a46827c25c8137d27ec4b9ccbc1d4e393a467a5 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   chown --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s no-such dangle || framework_failure
 
index 9ec18f5b2772bcc502d12e37a3081ff9c57d4345..8e2923bf0e551e3e3be5a8ce913c5ea09947af5b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chown --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir d && ln -s / d/slink-to-root
index b409b0295468c7ab1652429512759344ba8b6d36..eaf27b6c7ea5f8bf04b8716d11a43c10b2bcd504 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   chown --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 id_u=`id -u` || framework_failure
 test -n "$id_u" || framework_failure
index 2f6e20f673d38bed9c00b3d5942b926e6e1dca00..d0faba4ddc265b46ed21d124affbddb29023d1ab 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a b c || framework_failure
 ln -s ../t a/1 || framework_failure
index bfbb23803a5ea7cf4e542bdfe63dc93a7e3a94b2..21a7742ef5b8b2ad54a78f1a0e321188c1b1d8a9 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   setfacl --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_acl_
 
 # Skip this test if cp was built without ACL support:
index 6f2ca2eae820f4dff6d66dd3e558da04952de2a6..7fc1658705bff048d1543a4a146ac380241c1b26 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 suffix=.b
 file=b1.$$
index d2ac2be3984c66d0c1d36c9c5452e2d7a738779a..88de81adf211ecaec264a9ec5c02c39995f34423 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir x y || framework_failure
 
index 23d2a59d84531c91c38fe12e1258de48de6eece3..3703350ad367a6868ca273bb14b37f481660da7b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo a > a || framework_failure
 echo a-tilde > a~ || framework_failure
index dbfaed1efaac8d6217954b8e20fd4e8cd98004ac..bdc34d9a5e576a911af2238e27f4693c61fb6447 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir src-dir dest-dir || framework_failure
 echo f > f || framework_failure
index 92627e719a1f48ded0eebb8533328f54179d9b0f..feb66f9ac0dea6a0f8337cd1283fb7b6f0631a92 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 require_selinux_
 
index 181ba472208fe20f0b6c4f000ca85c6ccc680461..89584502ce6f9ef42833b6ee762f631dce5f26c3 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a b c d || framework_failure
 ln -s ../c a || framework_failure
index a2c47be44d27deb179eac852f83a08bbe554983d..a248eaa9e2259c09816a36e4c599a840e6f1eeb2 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p a b/a/c || framework_failure
 touch a/c || framework_failure
index 41bf8771c4251b4f9816315353f051fada921444..4280e481af016bad52d3d9d9422c8a8a217d2fa1 100755 (executable)
@@ -23,7 +23,7 @@ fi
 
 # Ensure that ls sorts the same way for everyone.
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 umask 022
 
index 3394265bb9a95580cb8117413a5ea1059a5892c6..e936f59be25bc47122e1b76d2520a76ac357836f 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 working_umask_or_skip_
 
index 6a24290c9343e84d550649f7aa3ea84c2f88cb9d..d2e953752ec7b95e99256031121c455315bca9f5 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch f slink-target || framework_failure
 ln -s slink-target slink || framework_failure
index e9934c339a63ae03742c27d3e5e95f41bdbf14a1..c97e709f209c2ee578af8951762e09edd0d7f5ff 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir d e || framework_failure
 
index 3521a1a707213919f0cbf412d45ed0d5f45750c5..0e591cedbeeaa81478d29a66f54bd66a6ae9bb63 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir1 dir2 || framework_failure
 touch dir1/file || framework_failure
index cb23172cb9b6378dc1de199d81f919c6e86bcf67..317c69a9c2da6e0d0297710487a82572637c488f 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 touch file || framework_failure
index f2a3287238d9b904bee15686b7f6880486deebb7..d428e99bf35bca57afc69bbba1b046ff58b885b3 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_membership_in_two_groups_
 
 set _ $groups; shift
index ae9ca041c23e2afa022d6b8f9e0e403707bf0f0f..f2dabd155da965c14b2ea314685556008fd70ba2 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 chmod g-s . || framework_failure
index 09d38a734467e4757263b5a86ac4863b911f5f2a..1b6eff6bfe37b6259fa47f3224d3d9aa30836a42 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 umask 022
 mkfifo fifo ||
index 49f5feddd5f8baa45ff19511b8bab280b98540b4..53dfe5697ed42fe117d4dec910337ce4470a9ac6 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 
index 49cedebc4034a3e84e23e56200aac9512a2e2ef6..a1cf92622c7be870f5f61e82b80bdaec65d4d1ca 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch src || framework_failure
 touch dest || framework_failure
index d249b03d89555e7f5e62c454ab0056ac14462f05..3ff16e036d4468cad83f49bf9e0806535bd65e13 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s no-such-file dangling-slink || framework_failure
 
index b396cd566e767d7a1d324b8954a6d2d707755a2a..0dd96f05e7acecd63367bbcddcd7fea5e3f024bb 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch a || framework_failure
 ln a b || framework_failure
index 018a029fde9e3dbfd388a1f832ee5435821072e7..e92c40cc34c4e02387d276aecf2dde512f9ea674 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a b
 msg=bar
index 0046dce4a92d8c774368bba88872bea8014805ea..20b87fc9880fe9e7fe1457ce39f76d1b84bcddda 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir b
 msg=bar
index 5d0ba7538e56293d5a9d292199ada9d89c95bfcc..32966ca0eca3b98911caaf13c8d0674997983cd4 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 msg=bar
 echo $msg > a
index 77bcf758474efdb74d2d9daa652a3ec350a9acee..a7da5e2e030b9fd2067560772a965a3273009958 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 working_umask_or_skip_
 
index de542e00d71c146cadedc68c04f99f5bad2a43f8..c84f2e9f32f66f71b2682b15ac816f888c9a843f 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 umask 002
 mkdir mode ownership d || framework_failure
index b482c173d0edea9641f3207911d2082993b5c6b1..aed3a722bb3871c8b39fb974af38224c97f8966d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 very_expensive_
 
 umask 037
index 0bbe3390c99ebe69f4245bf6ae06ea421c683cb1..667b503920fdd390933e19e512099f1c6edc1d43 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch f || framework_failure
 
index 1f18e0375e3043fc75c22bbcf0a259dd33de7ed6..a999322d2d64af1fae5815fc4f745d6bcbd2f08c 100755 (executable)
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 create() {
index aef5e5a62e347591ef24868c533907952a07be44..33e5802a549133e0047d5a89d74d4835fe0a8aec 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch empty || framework_failure
 
index 6ee2370375bcb8516bf0bd41344aa3412698c888..08070f7d98b1b229789b6bf070cdf8e0a8696aab 100755 (executable)
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo abc > foo || framework_failure
 ln -s foo slink || framework_failure
index b32d2d81f345b9d0b73c328963c3180cda0d8531..e5cc8237e95c26780154d23553aca0fc53aba187 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Unset CDPATH.  Otherwise, output from the `cd dir' command
 # can make this test fail.
index 8fd1dac8f76f2d9d1b9557ec98e84f1745321875..c86a251dd79ea90a75c25c0f9516df7a32e875fe 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch file || framework_failure
 ln -s file a || framework_failure
index 0d915df57e16aadb1c41b6ac8bc330f067d3b33e..2c2024ce32a8de87548ce2ff06acd63c58b8133b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_sparse_support_
 
 # Create a sparse file.
index e0f8bbb0d16022b50a66899889862c2c370c0f8b..c75fb50149845e2aab40d38ab4b68924d795d55a 100755 (executable)
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 touch a b c || framework_failure
index 82e6ae27b9c97e663c6f2d2d3336204807d031d5..054ad70b4826809bffef5856959d9766bc2b0ddb 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkfifo fifo ||
   skip_test_ "fifos not supported"
index a20268be07b75beafcc4ee3a4ff51726a424e60a..09aedb21fa353e95bef130c75dd5701d1b2a9c95 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir x y || framework_failure
 
index a5854e1b958e101cd99e4241150261e18f080c8c..893a413e716711a7dca9fd319b0da3c89f7f981d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 ln -s dir symlink || framework_failure
index aa494c597e8504e1979d006256592631669af8aa..71b41cd5d9ab5c89d64f41b660cd75e5cbc07144 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s no-such dangle || framework_failure
 echo hi > f || framework_failure
index e734ba240b6b262d0b459affae8ca5e6eb875948..d54fbfaee8e158594ad104980f35d8be356ba557 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   dd --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 tmp_in=dd-in.$$
 tmp_in2=dd-in2.$$
index 76eb8a3930673c7de7ff9bb7956dde90f5b1a3b3..b0bdf120e4916cf92cb3f858ea4260288713948c 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   dd --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 0840ad24a4532d849fd7c99d7fa9cc8a4edbd1dd..1381305f9fb6c05da208d095e1589f1cc51c2108 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   dd --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 484da885d0fbad5f5dfc7cace6882f6301b1deba..b66653340d5dc8d52aea035d188a6d4708ce5c3b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   dd --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 printf 000100020003xx > in || framework_failure
 
index 8479524c01e4cbde5c7486c5fc57365b941c533b..6a7463c02e2dcf8fdcd1924c96333afb397290cc 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Creating a 2GB file counts as `very expensive'.
 very_expensive_
index 66f02e78b760f13d44b55e75e435e2713567f838..49989d1f2dec96c226c80e0a5c0afdda6f51999c 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_sparse_support_
 
 dd bs=1 seek=8G of=big < /dev/null 2> /dev/null
index 3a378cedd356d50dcea34439284976d9c1ba06e3..837ec92d57a4089eaa9677a1994ed19eece65b17 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p a/b d d/sub || framework_failure
 
index 47f44492147ade6491cba70e2c0911ac111c67ee..facdf426bb846a9105da271e46189ea1be247239 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p a/sub || framework_failure
 ln -s a/sub slink || framework_failure
index c0281d5a51193fb081d0617eed0fa11785baa372..02bdf7d55e11d118a8fe2a2a88a2aa7b6a88e5cb 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir/a || framework_failure
 ln -s dir slink || framework_failure
index 73a0c5bdee7bb6e1608c92f80e9090730f934fa5..1e32b60f33168a15cf2884a273b7a1da62f41468 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p a/b/c a/x/y a/u/v || framework_failure
 
index 73fe4f8e71162987671aa722d8a57186f53e32d1..14df938d3a4a0433afa1706fb8ba0e14d03dbcb9 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Call this an expensive test.  It's not that expensive, but command line
 # limitations might induce failure on some losing systems.
index d0ca8551ed26a73e73ff9c3c83469235d618d333..f4fdf26167801be32078fa5507b4e8126f9ae396 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir/sub
 ( cd dir && { echo non-empty > f1; ln f1 f2; echo non-empty > sub/F; } )
index 589328d66889bc6e4855fdab6e7e6a9b7215762f..b0ea4d677e64c13f6aa12ca3832f2e4fce7981d8 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir f && cd f && mkdir a b c d e && touch c/j && chmod a-x c \
index 919406a078070e87e54570baf1fbcd8ec93dec9f..3b5fa5088f7c3baa3463d80be13d0606895ee856 100755 (executable)
@@ -20,7 +20,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p a/sub || framework_failure
index f6af78600492beac7acdf3312518517e13905e26..70e83a1f9a59412072060765d321dea36b45110a 100755 (executable)
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 cwd=`pwd`
index 1e20bb3245f6a976e08b4ac2f2c6061942680673..fdaf91ab4cc437d68d5a7b64c0f237379bedabde 100755 (executable)
@@ -33,7 +33,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 proc_file=/proc/self/fd
 if test ! -d $proc_file; then
index 208417e702cc41b36a38b0d901277e37c5e61b82..31aac1fe5f1d4f4819a20a25b02af91e8d8230cc 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Create lots of directories, each containing a single symlink
 # pointing at the next directory in the list.
index e1b7140360d7f2843666aa48c538c03ef07a23cb..8d8bc6c688b4e63e9cd22e21c8a74764f770a179 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir/a/b || framework_failure
 ln -s dir slink || framework_failure
index b7d62730a67611b54f67d23ec9040fb573aa8660..5569b5d19e5ff4dffec60f2e6f16f62761275a93 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p d/no-x/y || framework_failure
index fd269563181ad1c694d98381985f4afb59dcae27..82081c6dafa0e659e5197842e56d693d460716a1 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p b/c y/z || framework_failure
 
index 62409db578dbc13a4312fcd2df48ef20e8229876..b716b4112ff78d23bdad6da6073293cc8fdea227 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a b || framework_failure
 
index a939b91b64463dc3383c6459d103a9607ca8863b..d433a92351b22b7b0ae3d1dcfdd3647a5e8ed20e 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_readable_root_
 
 fail=0
index 082efddf770a2c66a87c866cbef323e37a0d5780..588c4df32aa396b450cf085d906e3779e6a00736 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Determine if `.' is on a local (would non-NFS be sufficient?) file system.
 # On at least some NFS implementations, symlinks never take up space,
index a3f8536823d5cc4f54d4317d7c55fca30f9be168..92de5d45cef341e69e8a57e2ac9eb899e0927f6c 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir/1/2 || framework_failure
 ln -s dir slink || framework_failure
index 5cb875ff0153aac43e037534b73a395f5fac8e12..2b25bf535576e3c2632998f5db2a92b7bdbaa424 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   du --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Run this test from a sub-directory one level deeper than normal,
 # so that the "du .." below doesn't traverse sibling directories
index 92c383fc1f71abe5df87c4c62a06f49ff83b320b..31f3215456ca82a988692ec7c3b57968b5857685 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ginstall --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 dir=dir
index 69999386369d498ed8766141072c5a9a097a9527..3e6079245afdee9f09aeb570858c9dc390f7eca4 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   ginstall --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index e7bf8ea77fb073825ee7780beac75af336c746d4..057c7bef2042bb98c84aa671e69654b50a1d7b99 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   install --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 915ad9ea29719969389733943b65d7ec8bc4f512..5b2b115e1abe0da1fa14ba5dd3c5d3f4612e291b 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   ginstall --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index b1d1bb1051db3fb54b449fd2ab7a223cc5437eb3..f796f3abfa74aa7d43b03466185143d7fe46bdb7 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch a b || framework_failure
 
index 0021d3730a7f34854d445b6b77935416ce4e57bc..90f8cd85ba674aeda472afb21972ecb6ee43ad88 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch f || framework_failure
 
index 1f3c1d16e63994b61a4e5b82f14132cf9d052245..f8ec46fcabea1d8b1e29f7a242303fd34c6e5ca6 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 t=tln-symlink
 d=tln-subdir
index 224d2cb01aa08d41dd2d75b8d81bf9ec72095229..2dd3d8c2edc2af39468367d00cbe768ec0ac8f3a 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Make sure we get English translations.
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo foo > a || framework_failure
 ln -s . b || framework_failure
index 6a49b2f4d842b0eae5a212fb92ef55a17419fc1f..e60106c7f52f8261f27e7875d94bfe4ed187866b 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir d || framework_failure
 fail=0
index 8a431c4664b7c4ed1228d2c19ef2d28813e771dd..37b40c459d0957f90a07590d54b35d5534056c1d 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Don't let a different umask perturb the results.
 umask 22
index 7266fac89c61bd881217dea030f0e427e8be383b..942b45a8b81c9fc6e4ed9c801c5a4fa65758e8b2 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s no-such-file dangle || framework_failure
 mkdir -p dir/sub || framework_failure
index 6a1bbd28adbeffd6ce8fc319f27f0a410d178650..3d96852c0815c6fc2b6aa4acdf7ab8309798efc8 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 
index 327c350c90a79c50bd0b54749f4f79e7223992f8..1dfc303f4c2a8d09bf8bd67cc24650f9eee23e5c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir sub
 cd sub
index a4374bf960bef370f73641204c823f655b2d1190..e0468de235c9cfbe1da39e9103571488d2b4b3a6 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Isolate output files from directory being listed
 mkdir dir dir/sub dir1 || framework_failure
index bc783ba4deecfd1b273d0a32cb606b3f47fcc6fc..6476e25c331c9de5d12b4a4a4e08fee3e42b5b12 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir loop || framework_failure
 ln -s ../loop loop/sub || framework_failure
index 636c064a39aa29f2ad9cd2cb7cff257f12e1cefc..dea2b284980e8821c5a0d109b7fe53b8aa8d9ad0 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch f || framework_failure
 ln -s f slink || framework_failure
index 9750422803220a286d04b2e83ec5dcc9eb070f67..15495879e2e2467239b31aebb7bae7c9b0ce5667 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 seq 2000 > b || framework_failure
 touch a || framework_failure
index 938181061001be2a89c980ab8b8001c937d35b2c..d5fa7f129ffb8ddcc8231851c4f5686eab79c476 100755 (executable)
@@ -22,9 +22,9 @@ if test "$VERBOSE" = yes; then
 fi
 
 : ${srcdir=.}
-. $top_srcdir/tests/require-perl
+. $srcdir/require-perl
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 nameless_uid=`$PERL -e 'foreach my $i (1000..16*1024) { getpwuid $i or (print "$i\n"), exit }'`
index ea0730e45a664e8cab5f1a5cf5aa28fd7407ff81..cd9dd380ca3c8d34aa8bc50af9ed92b428997d8c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir/subdir || framework_failure
 touch dir/subdir/file2 || framework_failure
index 79ea5235dcba3847aa85f66c86a3823766bb3107..1a31ece301de2b5ecdc3b7258512ed9a475af790 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 f=/proc/sys
 test -r $f || f=.
index d8b159c2ec0c9ce11cfb32e4c7de50c5cc758430..158b9ced39b8141e04a6dae69fc8ea7141767626 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir x y a b c a/1 a/2 a/3 || framework_failure
 touch f a/1/I a/1/II || framework_failure
index c07e5e56a4a566def9dd89eda38a3169e34a28c4..1a131761c2367226274c4ed3da63d6c502b277fe 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 date=1998-01-15
 
index a6d528983faf76384fd1b0d1721dd462366edd20..7e7dcb9c7947490864ef792b2e7e258c7ba94b3e 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Skip this test unless "." is on a file system with useful d_type info.
 # FIXME: This uses "ls -p" to decide whether to test "ls" with other options,
index 1d1630a64a30cf2687d8f917779e3350cd691b65..be9a7809496a094cb08994ce12c2bf588a056e57 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir d || framework_failure
index 4dc01b5edb3dcd1797ed5ad7d93f3273ee866d77..be4d490486accd9b0d55606c58a9810205010482 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_strace_ stat
 
 touch x || framework_failure
index f69ffba2d57581406f2d90117a8c273222f8cfed..f105e2f3ba91b4bcb588dffdaf67c6edafc18857 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 830cb9670ffc3ac0111c7689d9df599d210a04e4..4315b063b34cfde6f190ed0784d1e171b90d666c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 ln -s dir symlink || framework_failure
index eb1a39e20cb7cf6e33b35cc3a2e9e7f9c08af7fa..b47960007b975ace7d66fb23212871ef271fdd7c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir subdir || framework_failure
 touch subdir/b || framework_failure
index 3a510b6deed7b9110b9288018de35807af50bf5b..1661d6c6062db97dfa6b6fc9a5f1c32661b9f234 100755 (executable)
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # skip this test if arch isn't being built.
 case " $built_programs " in
index 0d7b07ed542614a461d675f4eb6f2a5cfed0a21d..8fa3f56ac99b252e954aaa8d234ead890356d84e 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   cat --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 
 f=/proc/cpuinfo
index d7a9c5f31f01b635063a94a41065996b3b08e039..f8caadae26b1ae4432c936098d0a5859fd5ebaa9 100755 (executable)
@@ -6,7 +6,7 @@ if test "$VERBOSE" = yes; then
   chcon --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 require_selinux_
 skip_if_mcstransd_is_running_
index 5c67276cefe7d0d4afddcd380c1f4fa13e80eca9..d9bac7c851c771bcb04e51f24b83a3991a7ce8ab 100755 (executable)
@@ -7,7 +7,7 @@ if test "$VERBOSE" = yes; then
   chcon --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index c3f54da7d4f81d55a6824adfe5cd310b4b6ef4d3..ede75205fc24cb2e325b84801063204b35336eb9 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 p="$abs_top_builddir"
 
index 3d681fd21754e36203bd6a6385a73b71260978a6..9997860e17d943faeba96b6be592fc68bbb8fef3 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   csplit --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 6d7a8bccb1280b6ec8201e0a197704fb97c96c2f..dea183513cd4edd9c72d6b6dfc62f678279318f4 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   date --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 
 fail=0
index fe8dabb4a5da793caabc583d4fa578cbb5d9bfe5..bb895e7fa0ffcb7655c2a1104d8ad664e2d68097 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   df --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 case `df .` in
 *'
index 7669550e158651adb7eb18b731945b7a352c5321..8024864cea3d82c7e8d340276a6afdde7123b498 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   df --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 7eaec30ce00f6ff7e48e04df4d8d1b3a875503c0..67191a3fe0bff4df23b6eac07557b830eb106e5c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   false --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 false --version > /dev/null && fail=1
index 05e03467e25faed6dcf55378d75dafcca04e6ad5..690202338862c9e2806ea719d2c1100d58e654a0 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   fmt --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 printf '%2030s\n' ' '|sed 's/../ y/g' > in || framework_failure
 
index 62bf1a4e861f267c4ca42b50a92bfc92178b6c06..bc132d804926be10f2364cc042da42443b5ff643 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   groups --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Coreutils 6.9 and earlier failed to display information on first argument
 # if later argument was --.
index 12e16c3f0ff52d865fa931dd5b244b977eb9533f..34dbd3307999b8d503f578a5fb640dc8b9e93e1b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   groups --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_built_ groups id
 
 fail=0
index 7610533b7c0664a063184e53ee84e3f5ad176f6c..2b348d2e36ebb9fb441b331eb245e5b1945d0d92 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   head --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo abc > in || framework_failure
 
index 90efe2279a1a64ef23e8ee26c98f7f5e68363278..0c55a879b60b293ed9462ffa7d82d102f231c8cb 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   head --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 (echo a; echo b) > in || framework_failure
 
index 77e54c7b4188e82601f68ef01c59a08ccec88066..1dcf96f92b94641c0bc14609280507b81df5e7b6 100755 (executable)
@@ -25,7 +25,7 @@ test "$VERBOSE" = yes && set -x
 test "x$SHELL" = x && SHELL=/bin/sh
 export SHELL
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 expected_failure_status_nohup=127
 expected_failure_status_printenv=2
index 5dca74493f0c1b604b39db6f87fbfac116a7bf73..ea90ec676b3c995ed0a27d190b68675a383edc7b 100755 (executable)
@@ -20,7 +20,7 @@ if test "$VERBOSE" = yes; then
   id --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 # Require selinux - when selinux is disabled, id never prints scontext.
 require_selinux_
 
index 69f597938c474ac106a0ca608900dd3106da2f4b..07271c601d630ac0aa786a969720768cf6b64ce0 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ls --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Avoid any possible glitches due to daylight-saving changes near the
 # time stamps used during the test.
index bcaf98bf363a727191cf24b1504aa5070b0f9e8b..bb8e024803ee7fa1ebdec365c6342bc47696929e 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mknod --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index f4d40121aaf79582441e56c9a095a4818a658bac..4fcb80faddea2714de0ee1687b6721ad07988c86 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   nice --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 tests='
 0 empty 10
index 58baef9c3c4465b2e5db61c40803e210d6d2ecfb..572e44a33f4c529440b8b3da161e37f8ce007f3c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   nl --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index dc90f48f16d1f634d166a697cd6a50303130d873..1b36dbd29026f9a2cc08b08478694b0f1a282148 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   nohup --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 0213dc4eeaf8fe998be9993b7b00ca3f210f0cdd..884127ceb7ed1f04902cd9762dce5d8eb8081e6d 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   od --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo abcdefg > in || framework_failure
 
index 267ab4d87048444a4a07b6562388fab1d8d70f67..b52c1ce387440d27e7d340067183e14e7b6a7f4d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   od --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 od -t x8 /dev/null >/dev/null ||
   skip_test_ "od lacks support for 8-byte quantities"
index 3bc5869fdd142da34751a1426fbca72d4e58086c..5b20f077ae6861039e1525d3743559558d0811b1 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   pathchk --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 touch file || framework_failure
index bdcfb5d2f357720abb9da67d1bbb28c28cfb4be1..78084b3b0145263ec7a3259a687feb4e51f4975d 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   "$prog" --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index e5db45e4d80a5a5ab0338f86f866da07bb4d77d4..968f66726d831e534511dabc09b6c349c1bf560d 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   "$prog" --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 
 fail=0
index 90a29973f35bb2fcfc75307528da0040751ee35f..dd3c332bb1120ebf3fff5a75d689c1e0519a0d4c 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   env $prog --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_ulimit_
 
 fail=0
index 552d7e2c4573a31b81c86e29ad87d5a3be4a6cfe..1859691182bd26690287e1f373d5609846d6d005 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ptx --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Using a long file name makes an abort more likely.
 # Even with no file name, valgrind detects the buffer overrun.
index a8aff7016ac6befe9de233d6109908b0b42c8bc0..94d4e4c03be42963ff94c98a6e6c9dbccd705cb2 100755 (executable)
@@ -18,9 +18,9 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 : ${srcdir=.}
-. $top_srcdir/tests/require-perl
+. $srcdir/require-perl
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_readable_root_
 
 ARGV_0=$0
index 165cd79a11f3092b04d76558e9be863c2577696d..75df827f29ca00eab1013b32e4d55595c5ed68fc 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   readlink --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 test $host_os != linux-gnu &&
   skip_test_ 'vendor getcwd may be inadequate'
index 99c1ec073670fdada1f89f4e912f72d3a6fedd05..7ac54b9a9a8286c69a5b96f5064c2d162e44b2b5 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   readlink --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cwd=$("$abs_top_builddir/src/pwd")
 
 # To trigger this bug, we have to construct a name/situation during
index 77637a30abed4e2106d52f9d3b36dc9cea7e146c..07dd0811616feb32ed013fc573f70020b28e91a8 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   runcon --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 cat <<\EOF > exp || framework_failure
 runcon: runcon may be used only on a SELinux kernel
index 87b3af250cc1becb12adc00bb50c9cc438792103..8065182f5bb6c6721e531562ea9dd0d2f03724e2 100755 (executable)
@@ -10,7 +10,7 @@ if test "$VERBOSE" = yes; then
   stat --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 require_selinux_
 skip_if_mcstransd_is_running_
index ea465902f938eca27c3be46933087e0307a5157d..d90a80e038a3580e81a8fbfdfd20f12d27817392 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   shred --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index f69166a9d9a1dcb19488e410277d90947ec6184b..a5dc6f12d604a4bc3597781695ce9b861d2e6678 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   shred --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 # The length of the basename is what matters.
index 2231dcd5335734755917a24e503389cadb674f0c..97109498f1ff18269050d22c3bb7194f3194ab36 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   shuf --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 seq 100 > in || framework_failure
 
index a555b26dfc4d925a50189dfa7e558da8821088b8..f3c47359724ba8b379c92ceab0bc2f34d0213e50 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   sort --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 seq -w 2000 > exp || framework_failure
 tac exp > in || framework_failure
index c42d16f5a268aea09327b20e0ed39a600d87ce96..f675c956cd644224d3321d90382d988dae56dd15 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   sort --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 seq 100 > in || framework_failure
 
index cde48559efd642e40b560d3b2a5601797a473055..b39009942dc1d52e66848fc51c674eae34b8a13f 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   split --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 a_z='a b c d e f g h i j k l m n o p q r s t u v w x y z'
 
index d15dd924429c184468c8220bc730fa836ccd06d5..0334c2d14df77cccb3d7a3a3c2de71db3a656e8d 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   split --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch in || framework_failure
 
index f2f23835f34c04923fea0c007e4cc25a19130f05..453f1008f85970a0e47b6e5b899d152550ef7074 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 printf '1\n2\n3\n4\n5\n' > in || framework_failure
 
index e19fb1271664bf94fabbe69e4ed4908440cc1706..f169166b1a635436a583e33344449e73c82f9756 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   stat --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 
 fail=0
index 8c4815b2dac01523de5642c2d722a8a683bf80e2..8b5fbff0063d15d6ab9207ed14b5efb9a6f0e599 100755 (executable)
@@ -22,8 +22,8 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Make sure there's a tty on stdin.
-. $top_srcdir/tests/input-tty
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/input-tty
+. $srcdir/test-lib.sh
 
 # The following list of reversible options was generated with
 # grep -w REV stty.c|sed -n '/^  {"/{s//REV_/;s/".*/=1/;p;}'|fmt
index d478765ed47f7b4c50c449ee2c47516571d8bf7a..168bb59af5c6468232ed748c7289e00b6196703a 100755 (executable)
@@ -22,8 +22,8 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Make sure there's a tty on stdin.
-. $top_srcdir/tests/input-tty
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/input-tty
+. $srcdir/test-lib.sh
 
 fail=0
 
index d5d75107005936038b874afeec9798055c0b54e1..7fc917fa4b4ba4c72e4479a46a7dfdf586315f9c 100755 (executable)
@@ -37,8 +37,8 @@ LC_ALL=C
 export LC_ALL
 
 # Make sure there's a tty on stdin.
-. $top_srcdir/tests/input-tty
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/input-tty
+. $srcdir/test-lib.sh
 
 # Versions of GNU stty from shellutils-1.9.2c and earlier failed
 # tests #2 and #4 when run on SunOS 4.1.3.
index e5361832d1e93560be58058742a56a4960d0508f..8766449ef53bafdf427f7a593bc972d027277957 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 : ${srcdir=.}
-. $top_srcdir/tests/require-perl
+. $srcdir/require-perl
 
 # Avoid a problem when run in a UTF-8 locale.
 # Otherwise, Perl would try to (and fail to) interpret
@@ -30,7 +30,7 @@ fi
 LC_ALL=C
 export LC_ALL
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index c8da320e1f62bb04331d5f831be038132d899428..ce41a525c6f13f07dafcfa84264f6e9ad4a9a43f 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   tac --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # See if the envvar is defined.
 if test x = "x$FULL_PARTITION_TMPDIR"; then
index e73619fdff01b5fdf936e89dae2840475b824304..adf0caa0b8dfab49e440c72e71cd56bd3ff424c5 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   tee --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo line >sample || framework_failure
 nums=`seq 9` || framework_failure
index 7b330f97cc4465d08a7241eb6a1109341cb0f0ab..2564117f13c8d63d81d8fcc331484cd6d048a588 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   tee --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 tee - </dev/null || fail=1
index d80911dbd699f20436006a9fb6b2ea2cb00a6904..aa2221e867708aa89182e5ce65eeeab74ae3bb5d 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   wc --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo 2 > 2b || framework_failure
 echo 2 words > 2w || framework_failure
index 95b26be8ac8aa77fa950f3460d81b1afccd2832b..85a2458e6b340384baeaee8144e6a8493b9ab954 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 mkdir --parents "`pwd`/t" || fail=1
index bbf391304d86d93302e4e69a9a3f13c78fe6e9c3..7daf0b5fa90adb33f7d02242dee60c5c6accd70a 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 mkdir --parents "`pwd`/t/u" || fail=1
index e05021ff2f3ea8d2d6adc300b89f0405cfe17056..54052f1719b97caef251b39e4c8663c15fcada06 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir no-access || framework_failure
index 273b7b7e39f01f071f53ea73ee91d0e181ba270a..d2c3f983c4996e0ab015ba6e12d8f05d9de05628 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index c326191401bbd7de516bcb92afd0c3179dd3d74d..accdc7985b7394fcd31ebd64709cbbe4502d5feb 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s . slink || framework_failure
 
index b3759d5597cc312b0576d5067a6a48a1b7d2bcc0..27696b52dc2f0a70aa39a1f25d470e6a3baa28d0 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 mkdir -pv foo/a/b/c/d >out || fail=1
index 2aee87e6f73e61002083818077da40c4155edb54..5433ee0b8e7561cb77561f6ed00176b4432d61a4 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 . "$abs_srcdir/setgid-check"
 
 mkdir -m 700 e-dir || framework_failure
index 6df1d4339c1807327838c07269e43bc6b4c0be4d..4fa9b5604dc247a358ebde66692d6429143a57ad 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 . "$abs_srcdir/setgid-check"
 
 working_umask_or_skip_
index 31b1f3e2371049fdd1728e1a816740bc42024c97..291d62da17b87b930a8e7d4db0619802d409baa4 100755 (executable)
@@ -27,7 +27,7 @@ fi
 # mcstrans-0.2.8-1.fc9, the following commands may mistakenly exit
 # successfully, in spite of the invalid context string.
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 c=invalid-selinux-context
 msg="failed to set default file creation context to \`$c':"
index 10d5b86aa90d0b48fc9f8d5d307a92a10fa6837e..9d13cbad91953943cf586465172a622a7123567b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 set_mode_string=u=rwx,g=rx,o=w,-s,+t
 output_mode_string=drwxr-x-wT
index fdb5e8692d44ca89c8fe9089f191c9fa653a304b..e95b0529b24b21e51f6afa3a90ce6e5a39c61410 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index ebca859b878761b96f969b7f1378952d564c3a30..1057b445bba4e05267efc5bb3cc7146bf52f9860 100755 (executable)
@@ -29,7 +29,7 @@ if test "$VERBOSE" = yes; then
   mkdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 # FIXME: for now, skip it unconditionally
index 536391a68e46148ebf0e0ea8883028212911dbdf..e9121a59bb4081099a20a7147bdce7a7e5eb7900 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   setfacl --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_acl_
 
 # Skip this test if cp was built without ACL support:
index e0e8adce1e331f10b66a3eb7ea9853fb6d880b24..b360e13eb2ac41bc2ca79cbe286240dd0e5edbb6 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_strace_ unlink
 
 # Before the fix, mv would unnecessarily unlink the destination symlink:
index 4d2b4fc08f51540d6d25f0a06472e3022e820e26..796d9c49935b6d8ef08f22e5caf2911f2dd646bb 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_strace_ unlink
 
 # Before the fix, mv would unnecessarily unlink the destination symlink:
index e3b42fbbbd54d0ee36a1e3b18503a30265f12861..28876a0071b081f256c99c96dc00c5ef2e22f2b9 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir A B || framework_failure
 touch X Y || framework_failure
index 3c41ecba874f751b9f14e74a65b5805ca0389e9d..eee4fd9d88532de1b9460662ce91543c8fba4f20 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 1fa77dc01734db0ef02f9a8a538f675f82ce9ac2..dffdf40c163dee949a452d6b5e2fbb063dd2f10a 100755 (executable)
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
   ln --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir a b c || framework_failure
index 413da6fa67c28e404225b79f83ea3585ae4cb9f7..ef25d809217541030edfb2efeac2e8cfec7d3ac8 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Make sure we get English translations.
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch f1 || framework_failure
 touch f2 || framework_failure
index 589944191ffbb5fbf08f37984000dc8f7fbdf890..38217e0f37a41c29e3d0933189b7ff02836d25db 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir/file || framework_failure
 > file || framework_failure
index 76622dc0a6c4100d890eb4734bea8f209be7ef14..9a038814ab69a0c2f98ebdbedf8c7041c6fbc48e 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p a/t b/t || framework_failure
 touch a/t/f || framework_failure
index edb5397337c01f96c5564c72100756bbab5c6143..d7b56e85471d24ac33ffe88b9a8817c8ebba5d91 100755 (executable)
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 fail=0
index 05d7f0446e2c73eff66bf5a72a15909ddeb74c8d..f2eaf918e330fd75d03ff5e1e30e4e93dba3cf59 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ff=mvforce
 ff2=mvforce2
index 7813f8a958da19ea29595ce3383ef847e93295e5..aaf9349af89684e6d24f93e4c99b292ca31f5410 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir dst || framework_failure
index 359a74dbaa2d3be8cac1100cc2277fcf6e196e46..a2fa4e759a2d1edb74e97311b28843676b0bfad6 100755 (executable)
@@ -35,7 +35,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p x dst/x || framework_failure
index b082c1b218863511492cc605986f6ecbf2ca2b1c..881cab518d0d13c048a93682199754f87dac50de 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 touch a || framework_failure
 ln a b || framework_failure
 
index fd586aeca0a11a7353dda5c77c25545b09c05e71..864fd0318343a58174842b3bdcc02f8f42e08a94 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 3a245663332fa3c5acd2d592c5be89fa95a2463c..0b4a12903aacb7723ea87c7f64428b80c9a3c147 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch x || framework_failure
 ln x y || framework_failure
index 4153dc98f4844c7c978450e19ac8439b02df0a77..1cc13949745f9f42f6523091d3903c826177a1ed 100755 (executable)
@@ -26,7 +26,7 @@ fi
 
 # Make sure we get English translations.
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 for i in a b c d e f g h; do
index 3052526e982bdd371520574a3dd6314cab6d2671..eed3c8b6658321561d4e66aba4e027635054b955 100755 (executable)
@@ -22,8 +22,8 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/input-tty
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/input-tty
+. $srcdir/test-lib.sh
 skip_if_root_
 
 touch f g h i || framework_failure
index e1a2c1caeb263b359f6057043016638d261b2d71..5de59b43b3c5cb2076250906ff5595e3c41eb2aa 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 for i in a b; do
   echo $i > $i || framework_failure
index 3b2e27d15ced9c485d790fa9178f0109168b8ab1..da9716888b52b8e9e84e6375513abf8705055a02 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a || framework_failure
 touch b || framework_failure
index 2eddf8513d2a78fd163aa84f608ea47fa94c8e3f..b322872590bb5f64c59fe521f31a551ee92338cf 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a b || framework_failure
 echo foo > a/foo || framework_failure
index e9273d16a366c425637068996157954fd40016b2..915194f6080bc5fbf245c31c71cd274f61987534 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 dir=toself-dir
 file=toself-file
index ffc97c31626f464a58702d71e08700653b9f4928..13e996a22684cb71465b3a9e90fa6f9c28b4ea43 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 3235b7f95d7ab8e22f6a9189ddc970379c089a36..3b967322f9b11f2a2af23356b416c6cdb896f598 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 dir1=is3-dir1
 dir2=is3-dir2
index 39e053d61f6ea39a80b0733d2c2d461a599d7577..9f001139fd5cf2eafb6d03423073a6e560d8bf9b 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch file || framework_failure
 ln -s file s || framework_failure
index 127a826ab88bfc746a0a7f75c4fa85a126286927..1141b7303aa4434cda217b4aa86c639bf6360f86 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
index ff4869fc2a6423b1056b5426d40582751872511b..f10dc10efb18b5bc03c1faeb5a993ef6dd1000fa 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index ba9a6b0a9f1ca2b5f7a3d1ba9fa627fc36e12caf..7df1fb99f28caa622514cee2baf1bf2d5ac3d11c 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p d/sub empty src d2/sub e2 || framework_failure
 touch f || framework_failure
index fdbab1d7d73c613bec6052dfd899c0c3aa293ec8..60c4210311abc72038cb7bf0b6b4b9dc3e40461f 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 cleanup_() { t=$other_partition_tmpdir; chmod -R 700 "$t"; rm -rf "$t"; }
 . "$abs_srcdir/other-fs-tmpdir"
index 8f83fcf27b74b150f33caaef490b9e3b78d74efe..3eaa083cd80bce46069c5ae3efa29802565b795a 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 009c6d44357c9feb677f12a7424198e50ace9511..8bff9915feffb34c197f7236eb101fe74639337c 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 68c46f9ea63050e8c848b37da44402a6e78e22cf..92625249369349ca4e90df791c9616770c53e49b 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   cp --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index a8ca44c8e52b74ca8a08fcc6b433ae6b4edda367..03f169ebb3166388cb0aaded95ee51511a07eb2c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 8a359ff71c652c8e50eefb0b25607fe46474706f..95bbccb8d8061c316b1cb8db9e914646a321f63f 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p no-write/dir || framework_failure
index e3947724f1852d776d3146aa995f14b7e8200d1c..42967c8664ab16a9ed41c697a16d6a7e565aebbe 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch a b || framework_failure
 
index 38f3836927af3e0ac0a0e70dbf84adf16960ee94..14cb76211edbf8bbe207f82112fbf8611355dd33 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
index 12f1447d1d7d82f78ce289f4c49acdf2ba03e46b..560d63de9be24590dfa4ae6ca76f5deb8ccf3bbb 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
 . "$abs_srcdir/other-fs-tmpdir"
 
index 0a2a361b0cb08fbc06ecc05e1c8a403088998861..eea982f3ecb7bac5b544138a5d1b5ee325380dea 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir foo || framework_failure
 
index 7edb99a75f00322053a11b2e8f5683a3d3113e76..15e6fa76201ef2ad59c405fda32e43cfa53807be 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   mv --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 echo old > old || framework_failure
 touch -d yesterday old || framework_failure
index 500bbc582ce8543b1dff0f01fe21d541e611c328..72c2c5cd3192a53fb96fb617002f089862b18567 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   readlink --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 pwd=`pwd`
 my_pwd=$("$abs_top_builddir/src/pwd")
index 3ddfb8dbcd3558443790d1e30194c00d74cf22a6..67f84b92f0471f8d79eb01e912415af2033280d2 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   readlink --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 pwd=`pwd`
 my_pwd=$("$abs_top_builddir/src/pwd")
index e6a3e7589e02ec91c18c192598759705fca83810..24f98c985d3610069c718ab00eeae1237d28e7ce 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   readlink --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 pwd=`pwd`
 my_pwd=$("$abs_top_builddir/src/pwd")
index c2fbcd4d561d027bb4035a7c2dcbfe0d6860db7c..91401b0f4a16936fd61dbb4fa21d0cf79b402476 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   readlink --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir subdir || framework_failure
 touch regfile || framework_failure
index 5daf716ef20eb33adf5f2cd1f89fddfd42d1378c..4c9f04d03987eaf86ee2f7b51f9959d384d94bac 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p a/b
index 8292ed7e4a12e3680de5c372645c1feaa5e8b47c..7581be22fd6447c63b80327343e4f7368bb7a117 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 ln -s no-file dangle
 ln -s / symlink
index 25239d60666dda65ca44aa880cc4b0bdcbac2061..34e9e1919b660430a85ca4ff39e2e0468f5db3dc 100755 (executable)
@@ -28,7 +28,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 umask 022
 
index 277a0b664f9b331869ada85165216d23b9798e2d..ed84c66ead7e85dbea56fa9d0f4e6b18e9423a1a 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Root can run this test, but it always succeeds, since for root, all
 # files are writable, and write_protected_non_symlink never reaches
index 94f53e64c33a311dc16d07e50cbe0c3480189bcf..35ab1852d1e6b035d5299a892375a00fbfce3a8b 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir --mode=0500 unwritable-dir || framework_failure
 
index 32cabc6264d76ecb1ed8aaf786b0c7dc840c4041..064ef5d43930cd88b3b4411ff16152525443a635 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir d || framework_failure
 
index 256abcba15c04b5f8e54dafa50465cb2959dd954..0d0e1a1de403646ffb322935fb97eaa65285d3a0 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a b || framework_failure
 touch a/f b/f || framework_failure
index d0b661f7c688d01094089d9a015272bd74b4f2d2..e89d103f2b10cc00996291dbfa8c7de7da0d4790 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -m0 inacc || framework_failure
index 5d80d85171095e098ea94420c5be7d5b11d389e3..acd241a207b458898f5f2dd6d346a2674c65fc6d 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p d || framework_failure
 
index 6e98baa63181c0ceafa34c2cca69b3630e341788..132e22cec5bede5ccf04a124b28d6ea61ed967ce 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 # The containing directory must be owned by the user who eventually runs rm.
index d2b5b04e01cfc04a52543aa6f92ccaf2ffc4f743..916b2577bc2665be092b4f62ec38062ab577f517 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 ok=0
index 56f96e412528707de84362f4e6e885de24b0d5ce..abb7ffd04bc6b380d88a70b2b9979fd2a23a5d9f 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 expensive_
 
 # Create a hierarchy with 3*26 leaf directories, each at depth 153.
index 15fd94f97e5eb09becacf1c583018a6e0f778fce..d19ebeaec0bef76afcf7b711086ea145212cd5b3 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 t=t
 mkdir -p $t || framework_failure
index 24035f3c808d82f2d1544f69a0e3562e2d94d5c4..244054ab7777a57d660bad33ca44ffb9a7da56f2 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 touch f || framework_failure
index d2b2c1062ec76d3e06ed5feb7280f2c93b0ea49a..f028b6357d572ea2a10597dc4dd3a49e036c4db9 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 echo y > y || framework_failure
index 0473a2039174cfb55ef7db7d7c6957b8660d4d59..37e0150f43e1a764bfb63a02929b2a0e6dce0315 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 touch existing-non-dir || framework_failure
index 2f86b034b0875155f7e5c4bb8b03d0dcf5029df8..35cddc5992b0119f46f4aff481e2f98db1338c2e 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Skip this test if your system has neither the openat-style functions
 # nor /proc/self/fd support with which to emulate them.
index a6d08f3bad44ee7bc6608116fee59568f2dc70b4..382cc6ff1901a9781ede01f1de126dc453e224ca 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 touch file1-1 file1-2 file2-1 file2-2 file3-1 file3-2 file4-1 file4-2 \
   || framework_failure
index 4c925161e151ffd575fd117a94d689e579de0e29..6238f3fcf4f22fabb72b4180eb6efddcdaf91184 100755 (executable)
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir -p dir1-1 dir2-1 dir2-2 || framework_failure
 touch file1-1 file2-1 file2-2 file2-3 file3-1 file3-2 file3-3 file3-4 \
index 21bd8f0a7527c713f9587abd3b57e4b70eeedb65..c3cdc0be856b3c0515ed5ea697d1a261a7b5d75f 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 t=t
 mkdir -p $t $t/a $t/b $t/c || framework_failure
index 382f30a2592bbca80e37425a69b147e9b35e1126..596887311b41509d2df8ca7d60b22d56abc15ad8 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 fail=0
index aa31d93f9dea477047ecbbc9b6445bbdd1767222..b888296c82c585aad06a476084f0295c49bd08be 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 mkdir d || framework_failure
index 0030f3437996e64af6362f7c27abc39230643225..419ada201a3a114986491d2b28de00cf62103a6a 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 # If used, these must *follow* test-lib.sh.
index 97f00c67fb31886f70557f1a47102431c423fa7d..ec846fb8d3c10a82cbf9d5366c5ba10961af2bd4 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a a/a || framework_failure
 > b || framework_failure
index f3e1cfa70f4e26c539fdc15ebe21855532312456..0bf6756defa7d129262257c8161bdaa67ac4fe1b 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir t t/a t/a/b || framework_failure
 > t/a/f || framework_failure
index 26355600a63518c4d9556dcffebff7cfbbbad680..9c31d881f2199ea262488e97ec2287bf67f572e4 100755 (executable)
@@ -28,7 +28,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir t || framework_failure
 cd t || framework_failure
index 7430273a0a2c40e9aa91b72e854d2db308ae7b7e..3d210791457173ea8818b163eb8ee92277301be6 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir d || framework_failure
 touch d/a || framework_failure
index 6b81a746b44c967511e1c9a2813fbbc7995ca700..15dc7412521ace89ee23b39cf79f064e707b679b 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Create a directory containing many files.
 # What counts is a combination of the number of files and
index 110a82d9e156366ef96598c828014d9791341ed4..70bc0e8b4a877b24542f8d2d99b2d9e2fa5a510e 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p b/a/p b/c b/d || framework_failure
index 8df52c861e5c8b25974515a450e374abc84e726c..853f4e2ac87e4f3029d5ae74be5c5ea840b9bbb8 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p a/0 || framework_failure
index 1682ea3ec10582463030e66ac9b11a67c377a55b..c5630a269f1aaa95d5035dcf0f2ef48218716f44 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p z || framework_failure
index 0b6ab6988c11ac814e4f2ee8b39df4fa24b4c847..2fbf317a1294e5250519731e5d2fd5c04a776f4c 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir dir || framework_failure
index e9c94ad26ae2fd421d1fe8a3af3a0203b027c441..f54d640a0c962e91e2b428e6a9a94a6ed3f860b6 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p d/e || framework_failure
index 03200bf3625068f3253c3a92a6b59eb658a87f9f..ce1016e1f43031e7c764cf80c218b1adc22b1223 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 rm -r '' > /dev/null 2>&1 && fail=1
index 7f582d0be6a1cae90c203a98d1bc28481a913d7a..005c4255c5b55abeb293cbd78e8c6d8afafa62c5 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p a/b || framework_failure
index 36e93bbe3dbad80ac43c664876a81203712e3d95..e79bd6003087d4b5cdacdf0b92057aa8a5cb853a 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 mkdir -p a/1 b c d/2 e/3 || framework_failure
index a942f1f5bd89a5d0794dc55c1b8e09cf235dc833..3a9d5411a7c2dd872ec0303c438bf56ce7d86422 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rm --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir a || framework_failure
 touch a/x || framework_failure
index bbfcad83835968185ea3b324171eedbb34aeee7d..9eeb633eac491cd190e354c8e93864b72f3f2be5 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   rmdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir d d/e d/e/f || framework_failure
 chmod a-w d || framework_failure
index 70b2944909e54419762228144a871edd3413c740..e55ae1f6485568e46ad133dde3e002ede6034d76 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rmdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 cwd=`pwd`
 mkdir -p "$cwd/a/b/c" "$cwd/a/x" || framework_failure
index cd4dad34baa09e85c5b9c8b4691d4e5c3e6f8de6..923e9c9c97b03e9e7e7fb76ff4f85ac513c93ee9 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   rmdir --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkdir dir || framework_failure
 
index a9ec3a48caddabdd091c690950968f2e0f9978f5..67bc0d1fc74676c0dfda5f861b8b1974611abd6d 100644 (file)
@@ -21,8 +21,8 @@ if test "$VERBOSE" = yes; then
   FIXME --version
 fi
 
-# FIXME: . $top_srcdir/tests/lang-default
-. $top_srcdir/tests/test-lib.sh
+# FIXME: . $srcdir/lang-default
+. $srcdir/test-lib.sh
 # FIXME: skip_if_root_
 # FIXME: require_root_
 
index e061b125e6a98fdfda8974dfee4fe1b869dd7844..fc761006bac2db278d001261de2214b892ab2f73 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 chattr_a_works=1
index 88371c2d157bfeacac2befb64e2ee4956fc2453b..309d12d8d69fbcd41db660ea3b89bf5b978b2da4 100755 (executable)
@@ -29,7 +29,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Not "expensive" per se, but sleeping for so long is annoying.
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 very_expensive_
 
 ok='ok ok ok'
index 4cfd6fbb2c7068cb135bb6e158de8adca830edad..4c6f4a9f3a43bb1e102951dc3a6b541bead94529 100755 (executable)
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 # Not "expensive" per se, but sleeping for so long is annoying.
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 very_expensive_
 
 ok='ok ok ok'
index 8b64c6ef7ba0268d6850c237d81c7582f27556c8..b362aeb3d90cb3f8196587d7dcdf8713034fa89d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 expensive_
 
 # Create a file of size exactly 4GB (2^32) with 8 bytes
index 4015fcb067ab54315b3b3237d9daf8985cd0ad21..c18c3e670f5acc1afdd5abff7d83d08ebc950f7b 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 yes > t &
 yes_pid=$!
index ccd4fdccc09191b4517b8368237f20fc290d8e6a..84566b542812b6df60a226f95d8dcb920019be75 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index d11eaec6024b1ccf51ea4c9bc86dddc2ce9fb0e1..3151e9d091ff489d1d91dd5c8f38b17e6c42a75d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 (echo 1; echo 2) > k || framework_failure
 
index c07b30c491ffc4b1ea4730e5574dfaf65dc273b8..4a22541d8223116144e1c6699b2d282ced54721d 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 sleep 2 &
 pid=$!
index 66392a5fceb8893eb48836ebfa2794987c816a87..aedb4afb2236ec8827e99557ac7ad05d92afe700 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 rm -f touch-target t-symlink
 ln -s touch-target t-symlink
index e48484a2a284894db6abaab117ea727206721d88..34023072f22637e6e182ff7ea696bbf4f2097e58 100755 (executable)
@@ -7,7 +7,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 touch . || fail=1
index 1020a378d83f0995104a75fea7164f1bf5e4211d..0f42ba57e81a8aac6749fa4aef6a6017f9698bda 100755 (executable)
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 DEFAULT_SLEEP_SECONDS=2
 SLEEP_SECONDS=${SLEEP_SECONDS=$DEFAULT_SLEEP_SECONDS}
index 1df8e54945c6b71868da3c5a7aa41111fc1ae1a9..b8889121b04adc02f73c8d1adae9a34b3fa08160 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 d1=no-$$
index 22cde83a79af4440122b769172e2cc1793aa2d00..9cd2d0171cc9a40306ab22db15987053038b442d 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 mkfifo_or_skip_ fifo
 
index a503ff752b7cc22a11e96899c5183bf5dd7b790c..be2d0dbf34876a8081d76e1617e0d8a54764740d 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 fail=0
 
index 9466166cedcc8ca23b982b93348eea0207bf0626..7550bae5ee8f990a3495b1474f10d52d81e2c27d 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 # Make sure t2 is newer than t1.
 touch -d '2000-01-01 00:00' t1 || framework_failure
index f3b294d78ad1a4e099e3f7f88681470ce3719c86..adcdaa87aa8f31c0330ae26d20d09fdfa6544b45 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 if env -- test -w /; then
   skip_test_ you have write access to /.
index 2f85850bb93c6fb9cd5051c09063029ae0501f10..2c1faefef4b43a432b56ae3948b36c6d653476bf 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 require_root_
 
 group_num=$(id -g $NON_ROOT_USERNAME)
index 25f73828a0eafd7e112981ce7880087469cb408c..8b558777ea7510d8da7bf6036f6956da141a0a4e 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 _POSIX2_VERSION=199209; export _POSIX2_VERSION
 POSIXLY_CORRECT=1; export POSIXLY_CORRECT
index 47b7eb20d38b45d4228f0afc62e0ae7c8f44ac27..e2338c51c42195b212d79d39cdd2f2f5992ca68e 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 skip_if_root_
 
 : > read-only || framework_failure
index 6a5d100f1391aea6bafd643959e4a6127614b39a..7c1396f150f226dcb48fba9f6b5338b2442904b4 100755 (executable)
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
   touch --version
 fi
 
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
 
 TZ=UTC0 touch --date='2004-01-16 12:00 +0000' f || framework_failure