]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: don't use recursive make for tests/ subdirectory
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 2 Sep 2012 19:55:12 +0000 (21:55 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 5 Sep 2012 06:48:29 +0000 (08:48 +0200)
* Makefile.am (SUBDIRS): Remove 'tests'.
(include): The '$(top_srcdir)/tests/local.mk' file.
(check-root): Remove this convenience target, it's no longer needed
now that the "real" check-root target once in 'tests/Makefile' will
land in the top-level makefile.
* configure.ac (AC_CONFIG_FILES): Remove 'tests/Makefile'.
* tests/Makefile.am: Rename ...
* tests/local.mk: ... like this, with a lot of adjustments.
* tests/init.cfg: Move ...
* init.cfg: ... here.  This is necessary, for a limitation of the
gnulib-provided 'tests/init.sh', which unconditionally look for
'init.cfg' in the $(srcdir) directory.
* tests/*/*.sh: Adjust: expect init.sh to be in '$srcdir/tests',
not in '$srcdir', and extend $PATH with './src', not with '../src'.
* tests/Coreutils.pm: Adjust similarly.
* tests/pr/pr-tests.pl ($pfx): Likewise.

442 files changed:
Makefile.am
configure.ac
init.cfg [moved from tests/init.cfg with 99% similarity]
tests/Coreutils.pm
tests/Makefile.am [deleted file]
tests/chgrp/basic.sh
tests/chgrp/default-no-deref.sh
tests/chgrp/deref.sh
tests/chgrp/no-x.sh
tests/chgrp/posix-H.sh
tests/chgrp/recurse.sh
tests/chmod/c-option.sh
tests/chmod/equal-x.sh
tests/chmod/equals.sh
tests/chmod/inaccessible.sh
tests/chmod/no-x.sh
tests/chmod/octal.sh
tests/chmod/setgid.sh
tests/chmod/silent.sh
tests/chmod/thru-dangling.sh
tests/chmod/umask-x.sh
tests/chmod/usage.sh
tests/chown/basic.sh
tests/chown/deref.sh
tests/chown/preserve-root.sh
tests/chown/separator.sh
tests/cp/abuse.sh
tests/cp/acl.sh
tests/cp/attr-existing.sh
tests/cp/backup-1.sh
tests/cp/backup-dir.sh
tests/cp/backup-is-src.sh
tests/cp/capability.sh
tests/cp/cp-HL.sh
tests/cp/cp-a-selinux.sh
tests/cp/cp-deref.sh
tests/cp/cp-i.sh
tests/cp/cp-mv-backup.sh
tests/cp/cp-mv-enotsup-xattr.sh
tests/cp/cp-parents.sh
tests/cp/deref-slink.sh
tests/cp/dir-rm-dest.sh
tests/cp/dir-slash.sh
tests/cp/dir-vs-file.sh
tests/cp/existing-perm-dir.sh
tests/cp/existing-perm-race.sh
tests/cp/fail-perm.sh
tests/cp/fiemap-2.sh
tests/cp/fiemap-empty.sh
tests/cp/fiemap-perf.sh
tests/cp/file-perm-race.sh
tests/cp/into-self.sh
tests/cp/link-heap.sh
tests/cp/link-no-deref.sh
tests/cp/link-preserve.sh
tests/cp/link-symlink.sh
tests/cp/link.sh
tests/cp/nfs-removal-race.sh
tests/cp/no-deref-link1.sh
tests/cp/no-deref-link2.sh
tests/cp/no-deref-link3.sh
tests/cp/parent-perm-race.sh
tests/cp/parent-perm.sh
tests/cp/perm.sh
tests/cp/preserve-2.sh
tests/cp/preserve-gid.sh
tests/cp/preserve-link.sh
tests/cp/preserve-slink-time.sh
tests/cp/proc-short-read.sh
tests/cp/proc-zero-len.sh
tests/cp/r-vs-symlink.sh
tests/cp/reflink-auto.sh
tests/cp/reflink-perm.sh
tests/cp/same-file.sh
tests/cp/slink-2-slink.sh
tests/cp/sparse-fiemap.sh
tests/cp/sparse-to-pipe.sh
tests/cp/sparse.sh
tests/cp/special-bits.sh
tests/cp/special-f.sh
tests/cp/src-base-dot.sh
tests/cp/symlink-slash.sh
tests/cp/thru-dangling.sh
tests/dd/bytes.sh
tests/dd/direct.sh
tests/dd/misc.sh
tests/dd/nocache.sh
tests/dd/not-rewound.sh
tests/dd/reblock.sh
tests/dd/skip-seek-past-dev.sh
tests/dd/skip-seek-past-file.sh
tests/dd/skip-seek2.sh
tests/dd/sparse.sh
tests/dd/stderr.sh
tests/dd/unblock-sync.sh
tests/df/df-P.sh
tests/df/header.sh
tests/df/no-mtab-status.sh
tests/df/problematic-chars.sh
tests/df/total-unprocessed.sh
tests/df/total-verify.sh
tests/df/unreadable.sh
tests/du/2g.sh
tests/du/8gb.sh
tests/du/basic.sh
tests/du/bigtime.sh
tests/du/bind-mount-dir-cycle.sh
tests/du/deref-args.sh
tests/du/deref.sh
tests/du/exclude.sh
tests/du/fd-leak.sh
tests/du/files0-from-dir.sh
tests/du/hard-link.sh
tests/du/inacc-dest.sh
tests/du/inacc-dir.sh
tests/du/inaccessible-cwd.sh
tests/du/long-from-unreadable.sh
tests/du/long-sloop.sh
tests/du/max-depth.sh
tests/du/move-dir-while-traversing.sh
tests/du/no-deref.sh
tests/du/no-x.sh
tests/du/one-file-system.sh
tests/du/restore-wd.sh
tests/du/slash.sh
tests/du/slink.sh
tests/du/trailing-slash.sh
tests/du/two-args.sh
tests/fmt/goal-option.sh
tests/fmt/long-line.sh
tests/id/gnu-zero-uids.sh
tests/id/no-context.sh
tests/install/basic-1.sh
tests/install/create-leading.sh
tests/install/d-slashdot.sh
tests/install/install-C-root.sh
tests/install/install-C-selinux.sh
tests/install/install-C.sh
tests/install/strip-program.sh
tests/install/trap.sh
tests/ln/backup-1.sh
tests/ln/hard-backup.sh
tests/ln/hard-to-sym.sh
tests/ln/misc.sh
tests/ln/relative.sh
tests/ln/sf-1.sh
tests/ln/slash-decorated-nonexistent-dest.sh
tests/ln/target-1.sh
tests/local.mk [new file with mode: 0644]
tests/ls/abmon-align.sh
tests/ls/block-size.sh
tests/ls/capability.sh
tests/ls/color-clear-to-eol.sh
tests/ls/color-dtype-dir.sh
tests/ls/color-norm.sh
tests/ls/dangle.sh
tests/ls/dired.sh
tests/ls/file-type.sh
tests/ls/follow-slink.sh
tests/ls/getxattr-speedup.sh
tests/ls/infloop.sh
tests/ls/inode.sh
tests/ls/m-option.sh
tests/ls/multihardlink.sh
tests/ls/nameless-uid.sh
tests/ls/no-arg.sh
tests/ls/no-cap.sh
tests/ls/proc-selinux-segfault.sh
tests/ls/readdir-mountpoint-inode.sh
tests/ls/recursive.sh
tests/ls/root-rel-symlink-color.sh
tests/ls/rt-1.sh
tests/ls/slink-acl.sh
tests/ls/stat-dtype.sh
tests/ls/stat-failed.sh
tests/ls/stat-free-color.sh
tests/ls/stat-free-symlinks.sh
tests/ls/stat-vs-dirent.sh
tests/ls/symlink-slash.sh
tests/ls/time-style-diag.sh
tests/ls/x-option.sh
tests/misc/arch.sh
tests/misc/cat-buf.sh
tests/misc/cat-proc.sh
tests/misc/chcon-fail.sh
tests/misc/chcon.sh
tests/misc/chroot-credentials.sh
tests/misc/chroot-fail.sh
tests/misc/close-stdout.sh
tests/misc/csplit-1000.sh
tests/misc/csplit-heap.sh
tests/misc/csplit.sh
tests/misc/date-sec.sh
tests/misc/env-null.sh
tests/misc/env.sh
tests/misc/false-status.sh
tests/misc/groups-dash.sh
tests/misc/groups-version.sh
tests/misc/head-c.sh
tests/misc/head-pos.sh
tests/misc/help-version.sh
tests/misc/id-context.sh
tests/misc/id-groups.sh
tests/misc/id-setgid.sh
tests/misc/ls-time.sh
tests/misc/md5sum-bsd.sh
tests/misc/md5sum-parallel.sh
tests/misc/mknod.sh
tests/misc/nice-fail.sh
tests/misc/nice.sh
tests/misc/nl.sh
tests/misc/nohup.sh
tests/misc/nproc-avail.sh
tests/misc/nproc-positive.sh
tests/misc/od-N.sh
tests/misc/od-float.sh
tests/misc/od-multiple-t.sh
tests/misc/od-x8.sh
tests/misc/pathchk1.sh
tests/misc/printenv.sh
tests/misc/printf-hex.sh
tests/misc/printf-surprise.sh
tests/misc/printf.sh
tests/misc/ptx-overrun.sh
tests/misc/pwd-long.sh
tests/misc/pwd-option.sh
tests/misc/readlink-fp-loop.sh
tests/misc/readlink-root.sh
tests/misc/realpath.sh
tests/misc/runcon-no-reorder.sh
tests/misc/selinux.sh
tests/misc/seq-long-double.sh
tests/misc/shred-exact.sh
tests/misc/shred-passes.sh
tests/misc/shred-remove.sh
tests/misc/shuf.sh
tests/misc/sort-NaN-infloop.sh
tests/misc/sort-benchmark-random.sh
tests/misc/sort-compress-hang.sh
tests/misc/sort-compress-proc.sh
tests/misc/sort-compress.sh
tests/misc/sort-continue.sh
tests/misc/sort-debug-keys.sh
tests/misc/sort-debug-warn.sh
tests/misc/sort-discrim.sh
tests/misc/sort-exit-early.sh
tests/misc/sort-float.sh
tests/misc/sort-merge-fdlimit.sh
tests/misc/sort-month.sh
tests/misc/sort-rand.sh
tests/misc/sort-spinlock-abuse.sh
tests/misc/sort-stale-thread-mem.sh
tests/misc/sort-u-FMR.sh
tests/misc/sort-unique-segv.sh
tests/misc/sort-unique.sh
tests/misc/sort-version.sh
tests/misc/stat-birthtime.sh
tests/misc/stat-fmt.sh
tests/misc/stat-hyphen.sh
tests/misc/stat-mount.sh
tests/misc/stat-nanoseconds.sh
tests/misc/stat-slash.sh
tests/misc/stdbuf.sh
tests/misc/stty-invalid.sh
tests/misc/stty-pairs.sh
tests/misc/stty-row-col.sh
tests/misc/stty.sh
tests/misc/sum-sysv.sh
tests/misc/tac-2-nonseekable.sh
tests/misc/tac-continue.sh
tests/misc/tee-dash.sh
tests/misc/tee.sh
tests/misc/timeout-group.sh
tests/misc/timeout-parameters.sh
tests/misc/timeout.sh
tests/misc/tr-case-class.sh
tests/misc/truncate-dangling-symlink.sh
tests/misc/truncate-dir-fail.sh
tests/misc/truncate-fail-diag.sh
tests/misc/truncate-fifo.sh
tests/misc/truncate-no-create-missing.sh
tests/misc/truncate-overflow.sh
tests/misc/truncate-owned-by-other.sh
tests/misc/truncate-parameters.sh
tests/misc/truncate-relative.sh
tests/misc/uniq-perf.sh
tests/misc/wc-files0.sh
tests/misc/wc-parallel.sh
tests/misc/xattr.sh
tests/mkdir/p-1.sh
tests/mkdir/p-2.sh
tests/mkdir/p-3.sh
tests/mkdir/p-slashdot.sh
tests/mkdir/p-thru-slink.sh
tests/mkdir/p-v.sh
tests/mkdir/parents.sh
tests/mkdir/perm.sh
tests/mkdir/selinux.sh
tests/mkdir/special-1.sh
tests/mkdir/t-slash.sh
tests/mkdir/writable-under-readonly.sh
tests/mv/acl.sh
tests/mv/atomic.sh
tests/mv/atomic2.sh
tests/mv/backup-dir.sh
tests/mv/backup-is-src.sh
tests/mv/childproof.sh
tests/mv/diag.sh
tests/mv/dir-file.sh
tests/mv/dir2dir.sh
tests/mv/dup-source.sh
tests/mv/force.sh
tests/mv/hard-2.sh
tests/mv/hard-3.sh
tests/mv/hard-4.sh
tests/mv/hard-link-1.sh
tests/mv/hard-verbose.sh
tests/mv/i-2.sh
tests/mv/i-3.sh
tests/mv/i-4.sh
tests/mv/i-5.sh
tests/mv/i-link-no.sh
tests/mv/into-self-2.sh
tests/mv/into-self-3.sh
tests/mv/into-self-4.sh
tests/mv/into-self.sh
tests/mv/leak-fd.sh
tests/mv/mv-n.sh
tests/mv/mv-special-1.sh
tests/mv/no-target-dir.sh
tests/mv/part-fail.sh
tests/mv/part-hardlink.sh
tests/mv/part-rename.sh
tests/mv/part-symlink.sh
tests/mv/partition-perm.sh
tests/mv/perm-1.sh
tests/mv/sticky-to-xpart.sh
tests/mv/symlink-onto-hardlink-to-self.sh
tests/mv/symlink-onto-hardlink.sh
tests/mv/to-symlink.sh
tests/mv/trailing-slash.sh
tests/mv/update.sh
tests/pr/pr-tests.pl
tests/readlink/can-e.sh
tests/readlink/can-f.sh
tests/readlink/can-m.sh
tests/readlink/rl-1.sh
tests/rm/cycle.sh
tests/rm/d-1.sh
tests/rm/d-2.sh
tests/rm/d-3.sh
tests/rm/dangling-symlink.sh
tests/rm/deep-1.sh
tests/rm/deep-2.sh
tests/rm/dir-no-w.sh
tests/rm/dir-nonrecur.sh
tests/rm/dot-rel.sh
tests/rm/empty-inacc.sh
tests/rm/ext3-perf.sh
tests/rm/f-1.sh
tests/rm/fail-2eperm.sh
tests/rm/fail-eacces.sh
tests/rm/hash.sh
tests/rm/i-1.sh
tests/rm/i-never.sh
tests/rm/i-no-r.sh
tests/rm/ignorable.sh
tests/rm/inaccessible.sh
tests/rm/interactive-always.sh
tests/rm/interactive-once.sh
tests/rm/ir-1.sh
tests/rm/isatty.sh
tests/rm/many-dir-entries-vs-OOM.sh
tests/rm/no-give-up.sh
tests/rm/one-file-system.sh
tests/rm/one-file-system2.sh
tests/rm/r-1.sh
tests/rm/r-2.sh
tests/rm/r-3.sh
tests/rm/r-4.sh
tests/rm/read-only.sh
tests/rm/readdir-bug.sh
tests/rm/rm1.sh
tests/rm/rm2.sh
tests/rm/rm3.sh
tests/rm/rm4.sh
tests/rm/rm5.sh
tests/rm/sunos-1.sh
tests/rm/unread2.sh
tests/rm/unread3.sh
tests/rm/v-slash.sh
tests/rmdir/fail-perm.sh
tests/rmdir/ignore.sh
tests/rmdir/t-slash.sh
tests/sample-test
tests/split/additional-suffix.sh
tests/split/b-chunk.sh
tests/split/fail.sh
tests/split/filter.sh
tests/split/guard-input.sh
tests/split/l-chunk.sh
tests/split/lines.sh
tests/split/numeric.sh
tests/split/r-chunk.sh
tests/split/suffix-auto-length.sh
tests/split/suffix-length.sh
tests/tail-2/F-vs-missing.sh
tests/tail-2/F-vs-rename.sh
tests/tail-2/append-only.sh
tests/tail-2/assert-2.sh
tests/tail-2/assert.sh
tests/tail-2/big-4gb.sh
tests/tail-2/flush-initial.sh
tests/tail-2/follow-name.sh
tests/tail-2/follow-stdin.sh
tests/tail-2/infloop-1.sh
tests/tail-2/inotify-hash-abuse.sh
tests/tail-2/inotify-hash-abuse2.sh
tests/tail-2/inotify-race.sh
tests/tail-2/inotify-rotate.sh
tests/tail-2/pid.sh
tests/tail-2/pipe-f.sh
tests/tail-2/pipe-f2.sh
tests/tail-2/proc-ksyms.sh
tests/tail-2/start-middle.sh
tests/tail-2/tail-n0f.sh
tests/tail-2/wait.sh
tests/touch/60-seconds.sh
tests/touch/dangling-symlink.sh
tests/touch/dir-1.sh
tests/touch/empty-file.sh
tests/touch/fail-diag.sh
tests/touch/fifo.sh
tests/touch/no-create-missing.sh
tests/touch/no-dereference.sh
tests/touch/no-rights.sh
tests/touch/not-owner.sh
tests/touch/now-owned-by-other.sh
tests/touch/obsolescent.sh
tests/touch/read-only.sh
tests/touch/relative.sh
tests/touch/trailing-slash.sh

index 8ae8650d96304b3667b15258964576bc48172c1b..4999ca14de28140e25c06aa1bd1ccfe2cf5f2c47 100644 (file)
@@ -17,7 +17,7 @@
 
 ALL_RECURSIVE_TARGETS =
 
-SUBDIRS = lib po . tests gnulib-tests
+SUBDIRS = lib po . gnulib-tests
 
 changelog_etc =                                \
   ChangeLog-2005                       \
@@ -72,11 +72,6 @@ $(srcdir)/src/cu-progs.mk: $(gen_progs_lists)
 
 ACLOCAL_AMFLAGS = -I m4
 
-# Some tests always need root privileges, others need them only sometimes.
-ALL_RECURSIVE_TARGETS += check-root
-check-root:
-       cd tests && $(MAKE) $@ SUBDIRS=
-
 # Shortcut targets to make it easier to run (very) expensive tests.
 check-expensive:
        $(MAKE) check RUN_EXPENSIVE_TESTS=yes
@@ -184,3 +179,4 @@ check-git-hook-script-sync:
 include $(top_srcdir)/src/local.mk
 include $(top_srcdir)/doc/local.mk
 include $(top_srcdir)/man/local.mk
+include $(top_srcdir)/tests/local.mk
index 5e8ce24b1ed149e9a787dbbb2edeb889342267ce..d087c33b50af845df7ebd9cb8b7f0d600777f98d 100644 (file)
@@ -480,7 +480,6 @@ AC_CONFIG_FILES(
   Makefile
   lib/Makefile
   po/Makefile.in
-  tests/Makefile
   gnulib-tests/Makefile
   )
 AC_OUTPUT
similarity index 99%
rename from tests/init.cfg
rename to init.cfg
index f223f13a5e72645dbb8464bbf5a403941e91ef2e..7edfd0f2482259f7a2de1433f0109fc1e22c89cd 100644 (file)
+++ b/init.cfg
@@ -15,7 +15,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-
 # This goes hand in hand with the "exec 9>&2;" in tests/Makefile.am's
 # TESTS_ENVIRONMENT definition.
 stderr_fileno_=9
@@ -399,7 +398,7 @@ fiemap_capable_()
     warn_ 'fiemap_capable_: python missing: assuming not fiemap capable'
     return 1
   fi
-  python $abs_srcdir/fiemap-capable "$@"
+  python $abs_srcdir/tests/fiemap-capable "$@"
 }
 
 # Skip the current test if "." lacks d_type support.
@@ -414,7 +413,7 @@ require_dirent_d_type_()
   df -x xfs . > /dev/null 2>&1 \
     || skip_ requires d_type support
 
-  python $abs_srcdir/d_type-check \
+  python $abs_srcdir/tests/d_type-check \
     || skip_ requires d_type support
 }
 
index a0c1bba7dd4268c35cbfa3109e689d6461b0c5af..340d11005f6f2668377e4da017ae78f6751eccd8 100644 (file)
@@ -33,7 +33,7 @@ my @Types = qw (IN IN_PIPE OUT ERR AUX CMP EXIT PRE POST OUT_SUBST
 my %Types = map {$_ => 1} @Types;
 my %Zero_one_type = map {$_ => 1}
    qw (OUT ERR EXIT PRE POST OUT_SUBST ERR_SUBST ENV);
-my $srcdir = $ENV{srcdir};
+my $srcdir = "$ENV{srcdir}";
 my $Global_count = 1;
 
 # When running in a DJGPP environment, make $ENV{SHELL} point to bash.
@@ -46,7 +46,7 @@ defined $ENV{DJDIR}
 # ================
 # 'contents'               contents only (file name is derived from test name)
 # {filename => 'contents'} filename and contents
-# {filename => undef}      filename only -- $(srcdir)/filename must exist
+# {filename => undef}      filename only -- $(srcdir)/tests/filename must exist
 #
 # FIXME: If there is more than one input file, then you can't specify 'REDIR'.
 # PIPE is still ok.
@@ -185,7 +185,7 @@ sub _process_file_spec ($$$$$)
       # FIXME: put $srcdir in here somewhere
       warn "$program_name: $test_name: specified file '$file' does"
         . " not exist\n"
-          if ! -f "$srcdir/$file";
+          if ! -f "$srcdir/tests/$file";
     }
 
   return $file;
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644 (file)
index 56ca499..0000000
+++ /dev/null
@@ -1,805 +0,0 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
-
-## Copyright (C) 2007-2012 Free Software Foundation, Inc.
-
-## This program is free software: you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation, either version 3 of the License, or
-## (at your option) any later version.
-
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-
-## You should have received a copy of the GNU General Public License
-## along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-# Indirections required so that we'll still be able to know the
-# complete list of our tests even if the user override TESTS from the
-# command line (which he's allowed to do by the test harness API).
-TESTS = $(all_tests)
-root_tests = $(all_root_tests)
-
-# Ensure that each version-controlled file in 'tests/' with a suffix
-# specified in $(TEST_EXTENSIONS) is listed in $(all_tests).
-vc_exe_in_TESTS:
-       $(AM_V_GEN)test -d $(top_srcdir)/.git || exit 1;                \
-       bs="\\";                                                        \
-       test_extensions_rx=`echo $(TEST_EXTENSIONS)                     \
-         | sed -e "s/ /|/g" -e "s/$$bs./$$bs$$bs./g"`;                 \
-       {                                                               \
-         for t in $(all_tests); do echo $$t; done;                     \
-         cd $(top_srcdir);                                             \
-         $(SHELL) build-aux/vc-list-files $(subdir)                    \
-           | sed 's!^$(subdir)/!!' | grep -v '^init\.sh$$'             \
-           | $(EGREP) "$$test_extensions_rx\$$";                       \
-       } | sort | uniq -u | grep . && exit 1; :
-
-check-local: vc_exe_in_TESTS
-.PHONY: vc_exe_in_TESTS
-
-TEST_EXTENSIONS = .sh .pl .xpl
-
-if HAVE_PERL
-TESTSUITE_PERL = $(PERL)
-else
-TESTSUITE_PERL = $(SHELL) $(srcdir)/no-perl
-endif
-
-# Options passed to the perl invocations running the perl test scripts.
-TESTSUITE_PERL_OPTIONS = -w -I$(srcdir) -MCoreutils -MCuSkip
-# '$f' is set by the Automake-generated test harness to the path of the
-# current test script stripped of VPATH components, and is used by the
-# CuTmpdir module to determine the name of the temporary files to be
-# used.  Note that $f is a shell variable, not a make macro, so the use
-# of '$$f' below is correct, and not a typo.
-TESTSUITE_PERL_OPTIONS += -M"CuTmpdir qw($$f)"
-
-SH_LOG_COMPILER = $(SHELL)
-PL_LOG_COMPILER = $(TESTSUITE_PERL) $(TESTSUITE_PERL_OPTIONS)
-# Perl scripts that must be run in tainted mode.
-XPL_LOG_COMPILER = $(TESTSUITE_PERL) -T $(TESTSUITE_PERL_OPTIONS)
-
-# Note that the first lines are statements.  They ensure that environment
-# variables that can perturb tests are unset or set to expected values.
-# The rest are envvar settings that propagate build-related Makefile
-# variables to test scripts.
-AM_TESTS_ENVIRONMENT =                         \
-  . $(srcdir)/lang-default;                    \
-  tmp__=$${TMPDIR-/tmp};                       \
-  test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.;   \
-  . $(srcdir)/envvar-check;                    \
-  TMPDIR=$$tmp__; export TMPDIR;               \
-  export                                       \
-  VERSION='$(VERSION)'                         \
-  LOCALE_FR='$(LOCALE_FR)'                     \
-  LOCALE_FR_UTF8='$(LOCALE_FR_UTF8)'           \
-  abs_top_builddir='$(abs_top_builddir)'       \
-  abs_top_srcdir='$(abs_top_srcdir)'           \
-  abs_srcdir='$(abs_srcdir)'                   \
-  built_programs='$(built_programs)'           \
-  host_os=$(host_os)                           \
-  host_triplet='$(host_triplet)'               \
-  srcdir='$(srcdir)'                           \
-  top_srcdir='$(top_srcdir)'                   \
-  CONFIG_HEADER='$(abs_top_builddir)/$(CONFIG_INCLUDE)' \
-  CU_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
-  CC='$(CC)'                                   \
-  AWK='$(AWK)'                                 \
-  EGREP='$(EGREP)'                             \
-  EXEEXT='$(EXEEXT)'                           \
-  MAKE=$(MAKE)                                 \
-  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'     \
-  PACKAGE_VERSION=$(PACKAGE_VERSION)           \
-  PERL='$(PERL)'                               \
-  PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
-  ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \
-  PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
-  ; 9>&2
-
-# On failure, display the global testsuite log on stdout.
-VERBOSE = yes
-
-# Sort in traditional ASCII order, regardless of the current locale;
-# otherwise we may get into trouble with distinct strings that the
-# current locale considers to be equal.
-ASSORT = LC_ALL=C sort
-
-EXTRA_DIST =           \
-  Coreutils.pm         \
-  CuSkip.pm            \
-  CuTmpdir.pm          \
-  d_type-check         \
-  envvar-check         \
-  filefrag-extent-compare \
-  fiemap-capable       \
-  init.cfg             \
-  init.sh              \
-  lang-default         \
-  no-perl              \
-  other-fs-tmpdir      \
-  sample-test          \
-  $(pr_data)
-
-all_root_tests =                               \
-  chown/basic.sh                               \
-  cp/cp-a-selinux.sh                           \
-  cp/preserve-gid.sh                           \
-  cp/special-bits.sh                           \
-  cp/cp-mv-enotsup-xattr.sh                    \
-  cp/capability.sh                             \
-  cp/sparse-fiemap.sh                          \
-  dd/skip-seek-past-dev.sh                     \
-  df/problematic-chars.sh                      \
-  du/bind-mount-dir-cycle.sh                   \
-  install/install-C-root.sh                    \
-  ls/capability.sh                             \
-  ls/nameless-uid.sh                           \
-  misc/chcon.sh                                        \
-  misc/chroot-credentials.sh                   \
-  misc/id-setgid.sh                            \
-  misc/selinux.sh                              \
-  misc/truncate-owned-by-other.sh              \
-  mkdir/writable-under-readonly.sh             \
-  mv/sticky-to-xpart.sh                                \
-  rm/fail-2eperm.sh                            \
-  rm/no-give-up.sh                             \
-  rm/one-file-system.sh                                \
-  rm/read-only.sh                              \
-  tail-2/append-only.sh                                \
-  touch/now-owned-by-other.sh
-
-.PHONY: check-root
-check-root:
-       $(MAKE) check TESTS='$(root_tests)'
-
-EXTRA_DIST += $(all_tests)
-
-# Do not choose a name that is a shell keyword like 'if', or a
-# commonly-used utility like 'cat' or 'test', as the name of a test.
-# Otherwise, VPATH builds will fail on hosts like Solaris, since they
-# will expand 'if test ...' to 'if .../test ...', and the '.../test'
-# will execute the test script rather than the standard utility.
-
-# Notes on the ordering of these tests:
-# Place early in the list tests of the tools that
-# are most commonly used in test scripts themselves.
-# E.g., nearly every test script uses rm and chmod.
-# help-version comes early because it's a basic sanity test.
-# Put seq early, since lots of other tests use it.
-# Put tests that sleep early, but not all together, so in parallel builds
-# they share time with tests that burn CPU, not with others that sleep.
-# Put head-elide-tail early, because it's long-running.
-
-all_tests =                                    \
-  misc/help-version.sh                         \
-  tail-2/inotify-race.sh                       \
-  misc/invalid-opt.pl                          \
-  rm/ext3-perf.sh                              \
-  rm/cycle.sh                                  \
-  cp/link-heap.sh                              \
-  misc/tty-eof.pl                              \
-  tail-2/inotify-hash-abuse.sh                 \
-  tail-2/inotify-hash-abuse2.sh                        \
-  tail-2/F-vs-missing.sh                       \
-  tail-2/F-vs-rename.sh                                \
-  tail-2/inotify-rotate.sh                     \
-  chmod/no-x.sh                                        \
-  chgrp/basic.sh                               \
-  rm/dangling-symlink.sh                       \
-  misc/ls-time.sh                              \
-  rm/d-1.sh                                    \
-  rm/d-2.sh                                    \
-  rm/d-3.sh                                    \
-  rm/deep-1.sh                                 \
-  rm/deep-2.sh                                 \
-  rm/dir-no-w.sh                               \
-  rm/dir-nonrecur.sh                           \
-  rm/dot-rel.sh                                        \
-  rm/isatty.sh                                 \
-  rm/empty-inacc.sh                            \
-  rm/empty-name.pl                             \
-  rm/f-1.sh                                    \
-  rm/fail-eacces.sh                            \
-  rm/fail-eperm.xpl                            \
-  tail-2/assert.sh                             \
-  rm/hash.sh                                   \
-  rm/i-1.sh                                    \
-  rm/i-never.sh                                        \
-  rm/i-no-r.sh                                 \
-  tail-2/infloop-1.sh                          \
-  rm/ignorable.sh                              \
-  rm/inaccessible.sh                           \
-  rm/interactive-always.sh                     \
-  rm/interactive-once.sh                       \
-  rm/ir-1.sh                                   \
-  rm/one-file-system2.sh                       \
-  rm/r-1.sh                                    \
-  rm/r-2.sh                                    \
-  rm/r-3.sh                                    \
-  rm/r-4.sh                                    \
-  rm/readdir-bug.sh                            \
-  rm/rm1.sh                                    \
-  touch/empty-file.sh                          \
-  rm/rm2.sh                                    \
-  rm/rm3.sh                                    \
-  rm/rm4.sh                                    \
-  rm/rm5.sh                                    \
-  rm/sunos-1.sh                                        \
-  rm/unread2.sh                                        \
-  rm/unread3.sh                                        \
-  rm/unreadable.pl                             \
-  rm/v-slash.sh                                        \
-  rm/many-dir-entries-vs-OOM.sh                        \
-  chgrp/default-no-deref.sh                    \
-  chgrp/deref.sh                               \
-  chgrp/no-x.sh                                        \
-  chgrp/posix-H.sh                             \
-  chgrp/recurse.sh                             \
-  fmt/base.pl                                  \
-  fmt/long-line.sh                             \
-  fmt/goal-option.sh                           \
-  misc/env.sh                                  \
-  misc/ptx.pl                                  \
-  misc/test.pl                                 \
-  misc/seq.pl                                  \
-  misc/seq-long-double.sh                      \
-  misc/head.pl                                 \
-  misc/head-elide-tail.pl                      \
-  tail-2/tail-n0f.sh                           \
-  misc/ls-misc.pl                              \
-  misc/date.pl                                 \
-  misc/date-next-dow.pl                                \
-  misc/ptx-overrun.sh                          \
-  misc/xstrtol.pl                              \
-  tail-2/pid.sh                                        \
-  misc/od.pl                                   \
-  misc/od-float.sh                             \
-  misc/mktemp.pl                               \
-  misc/arch.sh                                 \
-  misc/pr.pl                                   \
-  misc/join.pl                                 \
-  pr/pr-tests.pl                               \
-  misc/pwd-option.sh                           \
-  misc/chcon-fail.sh                           \
-  misc/cut.pl                                  \
-  misc/wc.pl                                   \
-  misc/wc-files0-from.pl                       \
-  misc/wc-files0.sh                            \
-  misc/wc-parallel.sh                          \
-  misc/cat-proc.sh                             \
-  misc/cat-buf.sh                              \
-  misc/base64.pl                               \
-  misc/basename.pl                             \
-  misc/close-stdout.sh                         \
-  misc/chroot-fail.sh                          \
-  misc/comm.pl                                 \
-  misc/csplit.sh                               \
-  misc/csplit-1000.sh                          \
-  misc/csplit-heap.sh                          \
-  misc/date-sec.sh                             \
-  misc/dircolors.pl                            \
-  misc/dirname.pl                              \
-  misc/env-null.sh                             \
-  misc/expand.pl                               \
-  misc/expr.pl                                 \
-  misc/factor.pl                               \
-  misc/false-status.sh                         \
-  misc/fold.pl                                 \
-  misc/groups-dash.sh                          \
-  misc/groups-version.sh                       \
-  misc/head-c.sh                               \
-  misc/head-pos.sh                             \
-  misc/id-context.sh                           \
-  misc/id-groups.sh                            \
-  misc/id-setgid.sh                            \
-  misc/md5sum.pl                               \
-  misc/md5sum-bsd.sh                           \
-  misc/md5sum-newline.pl                       \
-  misc/md5sum-parallel.sh                      \
-  misc/mknod.sh                                        \
-  misc/nice.sh                                 \
-  misc/nice-fail.sh                            \
-  misc/nl.sh                                   \
-  misc/nohup.sh                                        \
-  misc/nproc-avail.sh                          \
-  misc/nproc-positive.sh                       \
-  misc/od-N.sh                                 \
-  misc/od-multiple-t.sh                                \
-  misc/od-x8.sh                                        \
-  misc/paste.pl                                        \
-  misc/pathchk1.sh                             \
-  misc/printenv.sh                             \
-  misc/printf.sh                               \
-  misc/printf-cov.pl                           \
-  misc/printf-hex.sh                           \
-  misc/printf-surprise.sh                      \
-  misc/pwd-long.sh                             \
-  misc/readlink-fp-loop.sh                     \
-  misc/readlink-root.sh                                \
-  misc/realpath.sh                             \
-  misc/runcon-no-reorder.sh                    \
-  misc/sha1sum.pl                              \
-  misc/sha1sum-vec.pl                          \
-  misc/sha224sum.pl                            \
-  misc/sha256sum.pl                            \
-  misc/sha384sum.pl                            \
-  misc/sha512sum.pl                            \
-  misc/shred-exact.sh                          \
-  misc/shred-passes.sh                         \
-  misc/shred-remove.sh                         \
-  misc/shuf.sh                                 \
-  misc/sort.pl                                 \
-  misc/sort-benchmark-random.sh                        \
-  misc/sort-compress.sh                                \
-  misc/sort-compress-hang.sh                   \
-  misc/sort-compress-proc.sh                   \
-  misc/sort-continue.sh                                \
-  misc/sort-debug-keys.sh                      \
-  misc/sort-debug-warn.sh                      \
-  misc/sort-discrim.sh                         \
-  misc/sort-files0-from.pl                     \
-  misc/sort-float.sh                           \
-  misc/sort-merge.pl                           \
-  misc/sort-merge-fdlimit.sh                   \
-  misc/sort-month.sh                           \
-  misc/sort-exit-early.sh                      \
-  misc/sort-rand.sh                            \
-  misc/sort-spinlock-abuse.sh                  \
-  misc/sort-stale-thread-mem.sh                        \
-  misc/sort-unique.sh                          \
-  misc/sort-unique-segv.sh                     \
-  misc/sort-version.sh                         \
-  misc/sort-NaN-infloop.sh                     \
-  misc/sort-u-FMR.sh                           \
-  split/filter.sh                              \
-  split/suffix-auto-length.sh                  \
-  split/suffix-length.sh                       \
-  split/additional-suffix.sh                   \
-  split/b-chunk.sh                             \
-  split/fail.sh                                        \
-  split/lines.sh                               \
-  split/l-chunk.sh                             \
-  split/r-chunk.sh                             \
-  split/numeric.sh                             \
-  split/guard-input.sh                         \
-  misc/stat-birthtime.sh                       \
-  misc/stat-fmt.sh                             \
-  misc/stat-hyphen.sh                          \
-  misc/stat-mount.sh                           \
-  misc/stat-nanoseconds.sh                     \
-  misc/stat-printf.pl                          \
-  misc/stat-slash.sh                           \
-  misc/stdbuf.sh                               \
-  misc/stty.sh                                 \
-  misc/stty-invalid.sh                         \
-  misc/stty-pairs.sh                           \
-  misc/stty-row-col.sh                         \
-  misc/sum.pl                                  \
-  misc/sum-sysv.sh                             \
-  misc/tac.pl                                  \
-  misc/tac-continue.sh                         \
-  misc/tac-2-nonseekable.sh                    \
-  misc/tail.pl                                 \
-  misc/tee.sh                                  \
-  misc/tee-dash.sh                             \
-  misc/test-diag.pl                            \
-  misc/timeout.sh                              \
-  misc/timeout-group.sh                                \
-  misc/timeout-parameters.sh                   \
-  misc/tr.pl                                   \
-  misc/tr-case-class.sh                                \
-  misc/truncate-dangling-symlink.sh            \
-  misc/truncate-dir-fail.sh                    \
-  misc/truncate-fail-diag.sh                   \
-  misc/truncate-fifo.sh                                \
-  misc/truncate-no-create-missing.sh           \
-  misc/truncate-overflow.sh                    \
-  misc/truncate-parameters.sh                  \
-  misc/truncate-relative.sh                    \
-  misc/tsort.pl                                        \
-  misc/unexpand.pl                             \
-  misc/uniq.pl                                 \
-  misc/uniq-perf.sh                            \
-  misc/xattr.sh                                        \
-  tail-2/wait.sh                               \
-  chmod/c-option.sh                            \
-  chmod/equal-x.sh                             \
-  chmod/equals.sh                              \
-  chmod/inaccessible.sh                                \
-  chmod/octal.sh                               \
-  chmod/setgid.sh                              \
-  chmod/silent.sh                              \
-  chmod/thru-dangling.sh                       \
-  chmod/umask-x.sh                             \
-  chmod/usage.sh                               \
-  chown/deref.sh                               \
-  chown/preserve-root.sh                       \
-  chown/separator.sh                           \
-  cp/abuse.sh                                  \
-  cp/acl.sh                                    \
-  cp/attr-existing.sh                          \
-  cp/backup-1.sh                               \
-  cp/backup-dir.sh                             \
-  cp/backup-is-src.sh                          \
-  cp/cp-HL.sh                                  \
-  cp/cp-deref.sh                               \
-  cp/cp-i.sh                                   \
-  cp/cp-mv-backup.sh                           \
-  cp/cp-parents.sh                             \
-  cp/deref-slink.sh                            \
-  cp/dir-rm-dest.sh                            \
-  cp/dir-slash.sh                              \
-  cp/dir-vs-file.sh                            \
-  cp/existing-perm-dir.sh                      \
-  cp/existing-perm-race.sh                     \
-  cp/fail-perm.sh                              \
-  cp/fiemap-empty.sh                           \
-  cp/fiemap-perf.sh                            \
-  cp/fiemap-2.sh                               \
-  cp/file-perm-race.sh                         \
-  cp/into-self.sh                              \
-  cp/link.sh                                   \
-  cp/link-no-deref.sh                          \
-  cp/link-preserve.sh                          \
-  cp/link-symlink.sh                           \
-  cp/nfs-removal-race.sh                       \
-  cp/no-deref-link1.sh                         \
-  cp/no-deref-link2.sh                         \
-  cp/no-deref-link3.sh                         \
-  cp/parent-perm.sh                            \
-  cp/parent-perm-race.sh                       \
-  cp/perm.sh                                   \
-  cp/preserve-2.sh                             \
-  cp/preserve-link.sh                          \
-  cp/preserve-slink-time.sh                    \
-  cp/proc-short-read.sh                                \
-  cp/proc-zero-len.sh                          \
-  cp/r-vs-symlink.sh                           \
-  cp/reflink-auto.sh                           \
-  cp/reflink-perm.sh                           \
-  cp/same-file.sh                              \
-  cp/slink-2-slink.sh                          \
-  cp/sparse.sh                                 \
-  cp/sparse-to-pipe.sh                         \
-  cp/special-f.sh                              \
-  cp/src-base-dot.sh                           \
-  cp/symlink-slash.sh                          \
-  cp/thru-dangling.sh                          \
-  df/header.sh                                 \
-  df/df-P.sh                                   \
-  df/unreadable.sh                             \
-  df/total-unprocessed.sh                      \
-  df/no-mtab-status.sh                         \
-  dd/direct.sh                                 \
-  dd/misc.sh                                   \
-  dd/nocache.sh                                        \
-  dd/not-rewound.sh                            \
-  dd/reblock.sh                                        \
-  dd/skip-seek.pl                              \
-  dd/skip-seek2.sh                             \
-  dd/bytes.sh                                  \
-  dd/skip-seek-past-file.sh                    \
-  dd/sparse.sh                                 \
-  dd/stderr.sh                                 \
-  dd/unblock.pl                                        \
-  dd/unblock-sync.sh                           \
-  df/total-verify.sh                           \
-  du/2g.sh                                     \
-  du/8gb.sh                                    \
-  du/basic.sh                                  \
-  du/bigtime.sh                                        \
-  du/deref.sh                                  \
-  du/deref-args.sh                             \
-  du/exclude.sh                                        \
-  du/fd-leak.sh                                        \
-  du/files0-from.pl                            \
-  du/files0-from-dir.sh                                \
-  du/hard-link.sh                              \
-  du/inacc-dest.sh                             \
-  du/inacc-dir.sh                              \
-  du/inaccessible-cwd.sh                       \
-  du/long-from-unreadable.sh                   \
-  du/long-sloop.sh                             \
-  du/max-depth.sh                              \
-  du/move-dir-while-traversing.sh              \
-  du/no-deref.sh                               \
-  du/no-x.sh                                   \
-  du/one-file-system.sh                                \
-  du/restore-wd.sh                             \
-  du/slash.sh                                  \
-  du/slink.sh                                  \
-  du/trailing-slash.sh                         \
-  du/two-args.sh                               \
-  id/gnu-zero-uids.sh                          \
-  id/no-context.sh                             \
-  install/basic-1.sh                           \
-  install/create-leading.sh                    \
-  install/d-slashdot.sh                                \
-  install/install-C.sh                         \
-  install/install-C-selinux.sh                 \
-  install/strip-program.sh                     \
-  install/trap.sh                              \
-  ln/backup-1.sh                               \
-  ln/hard-backup.sh                            \
-  ln/hard-to-sym.sh                            \
-  ln/misc.sh                                   \
-  ln/relative.sh                               \
-  ln/sf-1.sh                                   \
-  ln/slash-decorated-nonexistent-dest.sh       \
-  ln/target-1.sh                               \
-  ls/abmon-align.sh                            \
-  ls/block-size.sh                             \
-  ls/color-clear-to-eol.sh                     \
-  ls/color-dtype-dir.sh                                \
-  ls/color-norm.sh                             \
-  ls/dangle.sh                                 \
-  ls/dired.sh                                  \
-  ls/file-type.sh                              \
-  ls/follow-slink.sh                           \
-  ls/getxattr-speedup.sh                       \
-  ls/infloop.sh                                        \
-  ls/inode.sh                                  \
-  ls/m-option.sh                               \
-  ls/multihardlink.sh                          \
-  ls/no-arg.sh                                 \
-  ls/no-cap.sh                                 \
-  ls/proc-selinux-segfault.sh                  \
-  ls/readdir-mountpoint-inode.sh               \
-  ls/recursive.sh                              \
-  ls/root-rel-symlink-color.sh                 \
-  ls/rt-1.sh                                   \
-  ls/slink-acl.sh                              \
-  ls/stat-dtype.sh                             \
-  ls/stat-failed.sh                            \
-  ls/stat-free-color.sh                                \
-  ls/stat-free-symlinks.sh                     \
-  ls/stat-vs-dirent.sh                         \
-  ls/symlink-slash.sh                          \
-  ls/time-style-diag.sh                                \
-  ls/x-option.sh                               \
-  mkdir/p-1.sh                                 \
-  mkdir/p-2.sh                                 \
-  mkdir/p-3.sh                                 \
-  mkdir/p-slashdot.sh                          \
-  mkdir/p-thru-slink.sh                                \
-  mkdir/p-v.sh                                 \
-  mkdir/parents.sh                             \
-  mkdir/perm.sh                                        \
-  mkdir/selinux.sh                             \
-  mkdir/special-1.sh                           \
-  mkdir/t-slash.sh                             \
-  mv/acl.sh                                    \
-  mv/atomic.sh                                 \
-  mv/atomic2.sh                                        \
-  mv/backup-dir.sh                             \
-  mv/backup-is-src.sh                          \
-  mv/childproof.sh                             \
-  mv/diag.sh                                   \
-  mv/dir-file.sh                               \
-  mv/dir2dir.sh                                        \
-  mv/dup-source.sh                             \
-  mv/force.sh                                  \
-  mv/hard-2.sh                                 \
-  mv/hard-3.sh                                 \
-  mv/hard-4.sh                                 \
-  mv/hard-link-1.sh                            \
-  mv/hard-verbose.sh                           \
-  mv/i-1.pl                                    \
-  mv/i-2.sh                                    \
-  mv/i-3.sh                                    \
-  mv/i-4.sh                                    \
-  mv/i-5.sh                                    \
-  mv/i-link-no.sh                              \
-  mv/into-self.sh                              \
-  mv/into-self-2.sh                            \
-  mv/into-self-3.sh                            \
-  mv/into-self-4.sh                            \
-  mv/leak-fd.sh                                        \
-  mv/mv-n.sh                                   \
-  mv/mv-special-1.sh                           \
-  mv/no-target-dir.sh                          \
-  mv/part-fail.sh                              \
-  mv/part-hardlink.sh                          \
-  mv/part-rename.sh                            \
-  mv/part-symlink.sh                           \
-  mv/partition-perm.sh                         \
-  mv/perm-1.sh                                 \
-  mv/symlink-onto-hardlink.sh                  \
-  mv/symlink-onto-hardlink-to-self.sh          \
-  mv/to-symlink.sh                             \
-  mv/trailing-slash.sh                         \
-  mv/update.sh                                 \
-  readlink/can-e.sh                            \
-  readlink/can-f.sh                            \
-  readlink/can-m.sh                            \
-  readlink/rl-1.sh                             \
-  rmdir/fail-perm.sh                           \
-  rmdir/ignore.sh                              \
-  rmdir/t-slash.sh                             \
-  tail-2/assert-2.sh                           \
-  tail-2/big-4gb.sh                            \
-  tail-2/flush-initial.sh                      \
-  tail-2/follow-name.sh                                \
-  tail-2/follow-stdin.sh                       \
-  tail-2/pipe-f.sh                             \
-  tail-2/pipe-f2.sh                            \
-  tail-2/proc-ksyms.sh                         \
-  tail-2/start-middle.sh                       \
-  touch/60-seconds.sh                          \
-  touch/dangling-symlink.sh                    \
-  touch/dir-1.sh                               \
-  touch/fail-diag.sh                           \
-  touch/fifo.sh                                        \
-  touch/no-create-missing.sh                   \
-  touch/no-dereference.sh                      \
-  touch/no-rights.sh                           \
-  touch/not-owner.sh                           \
-  touch/obsolescent.sh                         \
-  touch/read-only.sh                           \
-  touch/relative.sh                            \
-  touch/trailing-slash.sh                      \
-  $(all_root_tests)
-
-pr_data =                                      \
-  pr/0F                                                \
-  pr/0FF                                       \
-  pr/0FFnt                                     \
-  pr/0FFt                                      \
-  pr/0FnFnt                                    \
-  pr/0FnFt                                     \
-  pr/0Fnt                                      \
-  pr/0Ft                                       \
-  pr/2-S_f-t_notab                             \
-  pr/2-Sf-t_notab                              \
-  pr/2f-t_notab                                        \
-  pr/2s_f-t_notab                              \
-  pr/2s_w60f-t_nota                            \
-  pr/2sf-t_notab                               \
-  pr/2sw60f-t_notab                            \
-  pr/2w60f-t_notab                             \
-  pr/3-0F                                      \
-  pr/3-5l24f-t                                 \
-  pr/3-FF                                      \
-  pr/3a2l17-FF                                 \
-  pr/3a3f-0F                                   \
-  pr/3a3l15-t                                  \
-  pr/3a3l15f-t                                 \
-  pr/3b2l17-FF                                 \
-  pr/3b3f-0F                                   \
-  pr/3b3f-0FF                                  \
-  pr/3b3f-FF                                   \
-  pr/3b3l15-t                                  \
-  pr/3b3l15f-t                                 \
-  pr/3f-0F                                     \
-  pr/3f-FF                                     \
-  pr/3l24-t                                    \
-  pr/3l24f-t                                   \
-  pr/3ml24-FF                                  \
-  pr/3ml24-t                                   \
-  pr/3ml24-t-FF                                        \
-  pr/3ml24f-t                                  \
-  pr/4-7l24-FF                                 \
-  pr/4l24-FF                                   \
-  pr/FF                                                \
-  pr/FFn                                       \
-  pr/FFtn                                      \
-  pr/FnFn                                      \
-  pr/Ja3l24f-lm                                        \
-  pr/Jb3l24f-lm                                        \
-  pr/Jml24f-lm-lo                              \
-  pr/W-72l24f-ll                               \
-  pr/W20l24f-ll                                        \
-  pr/W26l24f-ll                                        \
-  pr/W27l24f-ll                                        \
-  pr/W28l24f-ll                                        \
-  pr/W35Ja3l24f-lm                             \
-  pr/W35Jb3l24f-lm                             \
-  pr/W35Jml24f-lmlo                            \
-  pr/W35a3l24f-lm                              \
-  pr/W35b3l24f-lm                              \
-  pr/W35ml24f-lm-lo                            \
-  pr/W72Jl24f-ll                               \
-  pr/a2l15-FF                                  \
-  pr/a2l17-FF                                  \
-  pr/a3-0F                                     \
-  pr/a3f-0F                                    \
-  pr/a3f-0FF                                   \
-  pr/a3f-FF                                    \
-  pr/a3l15-t                                   \
-  pr/a3l15f-t                                  \
-  pr/a3l24f-lm                                 \
-  pr/b2l15-FF                                  \
-  pr/b2l17-FF                                  \
-  pr/b3-0F                                     \
-  pr/b3f-0F                                    \
-  pr/b3f-0FF                                   \
-  pr/b3f-FF                                    \
-  pr/b3l15-t                                   \
-  pr/b3l15f-t                                  \
-  pr/b3l24f-lm                                 \
-  pr/l24-FF                                    \
-  pr/l24-t                                     \
-  pr/l24f-t                                    \
-  pr/loli                                      \
-  pr/ml20-FF-t                                 \
-  pr/ml24-FF                                   \
-  pr/ml24-t                                    \
-  pr/ml24-t-FF                                 \
-  pr/ml24f-0F                                  \
-  pr/ml24f-lm-lo                               \
-  pr/ml24f-t                                   \
-  pr/ml24f-t-0F                                        \
-  pr/n+2-5l24f-0FF                             \
-  pr/n+2l24f-0FF                               \
-  pr/n+2l24f-bl                                        \
-  pr/n+3-7l24-FF                               \
-  pr/n+3l24f-0FF                               \
-  pr/n+3l24f-bl                                        \
-  pr/n+3ml20f-bl-FF                            \
-  pr/n+3ml24f-bl-tn                            \
-  pr/n+3ml24f-tn-bl                            \
-  pr/n+4-8a2l17-FF                             \
-  pr/n+4b2l17f-0FF                             \
-  pr/n+5-8b3l17f-FF                            \
-  pr/n+5a3l13f-0FF                             \
-  pr/n+6a2l17-FF                               \
-  pr/n+6b3l13f-FF                              \
-  pr/n+7l24-FF                                 \
-  pr/n+8l20-FF                                 \
-  pr/nJml24f-lmlmlo                            \
-  pr/nJml24f-lmlolm                            \
-  pr/nN1+3l24f-bl                              \
-  pr/nN15l24f-bl                               \
-  pr/nSml20-bl-FF                              \
-  pr/nSml20-t-t-FF                             \
-  pr/nSml20-t-tFFFF                            \
-  pr/nSml24-bl-FF                              \
-  pr/nSml24-t-t-FF                             \
-  pr/nSml24-t-tFFFF                            \
-  pr/nl24f-bl                                  \
-  pr/o3Jml24f-lm-lo                            \
-  pr/o3a3Sl24f-tn                              \
-  pr/o3a3Snl24f-tn                             \
-  pr/o3a3l24f-tn                               \
-  pr/o3b3Sl24f-tn                              \
-  pr/o3b3Snl24f-tn                             \
-  pr/o3b3l24f-tn                               \
-  pr/o3mSl24f-bl-tn                            \
-  pr/o3mSnl24fbltn                             \
-  pr/o3ml24f-bl-tn                             \
-  pr/t-0FF                                     \
-  pr/t-FF                                      \
-  pr/t-bl                                      \
-  pr/t-t                                       \
-  pr/tFFn                                      \
-  pr/tFFt                                      \
-  pr/tFFt-bl                                   \
-  pr/tFFt-ll                                   \
-  pr/tFFt-lm                                   \
-  pr/tFnFt                                     \
-  pr/t_notab                                   \
-  pr/t_tab                                     \
-  pr/t_tab_                                    \
-  pr/ta3-0FF                                   \
-  pr/ta3-FF                                    \
-  pr/tb3-0FF                                   \
-  pr/tb3-FF                                    \
-  pr/tn                                                \
-  pr/tn2e5o3-t_tab                             \
-  pr/tn2e8-t_tab                               \
-  pr/tn2e8o3-t_tab                             \
-  pr/tn_2e8-t_tab                              \
-  pr/tn_2e8S-t_tab                             \
-  pr/tne8-t_tab                                        \
-  pr/tne8o3-t_tab                              \
-  pr/tt-0FF                                    \
-  pr/tt-FF                                     \
-  pr/tt-bl                                     \
-  pr/tt-t                                      \
-  pr/tta3-0FF                                  \
-  pr/tta3-FF                                   \
-  pr/ttb3-0FF                                  \
-  pr/ttb3-FF                                   \
-  pr/w72l24f-ll
index 8ce2f2ddc9fcc0dbe39570031d55a220eb1325cb..f2d6e1d65ecc57cc10b4173c772e7c9d8b5eec0f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp
 require_membership_in_two_groups_
 
index 5d140a8da6a4d44d18d4940e043b4a7862e65647..4469d618f29cf475579f7e2fd0eaabd8d9e9e78c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp
 require_membership_in_two_groups_
 
index 4c186ee82ec02d3f4c09ba22f95a3123e1af9d9e..995311290f4b7c8f173cdb6aa5e2da26f5f35aa0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp
 require_membership_in_two_groups_
 
index 6e9347f997b66bb67c6ed9828ce8dc4d82f63987..2b2edc3a66ac2378bed7bad263e8bf292c565c58 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp
 require_membership_in_two_groups_
 skip_if_root_
index 3965f1ff52d5636262ac0eebd211a408d451439f..9f7d78013470797a98e1284eb4376889d15f32f2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp
 require_membership_in_two_groups_
 
index 95a910f6c27d3fa1707d311ab4ef0eef8af80676..7861169ae401449de590aa88f221712277531afe 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp
 require_membership_in_two_groups_
 
index 0fc83912a7b70d0d9a0eb5ff15a6cadcc0a5663a..a7f01daf1ef7cecb64d9b7a2624f6e363bbb294d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 umask 0
index e2cac3478c3c9291075322431989f7578e95c759..a15e58106c150b9ca71af5ce9b31da179057b6e8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 file=f
index fd92055c2b1ce2bd24160411b7b36249418a72b2..6974ee5bb09a2c532167ae425be307a747f8b8a2 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 touch f || framework_failure_
index c904068035ba963c1a48d9b377274fd2bdafd9be..37a28a8793213487393ca598063135e76f30c7d3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 mkdir -p d/e || framework_failure_
index e802b356f28c48b466723bc4894afd12e76e2f34..24a0b2faf04873208cbcd3f6d5ea0fc18cf1a235 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 skip_if_root_
 
index 845116b26c8af81ed8d44b0a47a0eb3efb202d90..a8ae5557e1732c485799e9788dc7823b277bd8b8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 
index 7fc6db214b3a5a1ceee106d1966e15183aefa862..6579e9cc844dba84f32d311ea26929878c5e9fb5 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 umask 0
index 00e2348fcef23deb95a398c27abd4b7ecdda61f9..f8787653e97203a476bb77010088983c07157f2a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chgrp chmod chown
 
 chmod -f 0   no-such 2> out && fail=1
index 78124009fafa227466d6483fd7dc107371e80f09..0dac1c24c5d638bbddb1427d5c3d11c475ed55ea 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 ln -s non-existent dangle || framework_failure_
index dc133e183d7a1183aa4d9d2278c0db146141e527..80ca0184175a9444fde8115d215958bf9c42791d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 touch file
index 9dd65f7cce6a3efdd9d0f994493bd945481ae72d..e556a9d0b8ad2641e209bb2a3f15ff6820f717ce 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chmod
 
 
index 6225400e17865de10d14dfacd524f7e7934da250..520941537bea022e69f4a73eb3f0964499f8def7 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chown
 require_root_
 
index d42a054128321f5b3d5da856df366d1758d283a8..76de4b58a77aa59494842e2eccd518abf3ecd8c1 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chown
 
 ln -s no-such dangle || framework_failure_
index ffad222287f00a406dd7b3610b2e2930750a2ebf..edeb566815bf068136f5c7b74c27955f2a23fc32 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chown
 skip_if_root_
 
index d4264a8c8b7bbe65803a57e8d4958bbc2b7a423f..132d8e9756d5bee9ee1fff8f50247131fa93dfc2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chown
 
 id_u=$(id -u) || framework_failure_
index 6338e1f57792b383c617fc25e43eefc294bec537..5f00550cf2d95d88a95591d374cc30044a58f657 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir a b c || framework_failure_
index 4520fc9c6803f03dc9e84c306914ca34a63c5283..801d124bc7449d3692be4ede53eed1c26f03ba1c 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp getfacl setfacl
 
 require_acl_
index 9cf0ffcb377f6085c1e7534118b40f4ef6bfdf9d..4517841396659ddc2807845072bad1e2714f7a2e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 printf '1' > file1
index c7ece5f4d8106a35bcf490e602b6a1ef3c625c97..c79bc26d11cba03148aa321e26b8cea0a72c8bd2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 suffix=.b
index bc05bd9b08e2dd650aec684c5d89f75543226f91..5f2658cdcaf00528c58e09477771d01c867dac9e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir x y || framework_failure_
index 98e2ed09a33dd30e021f8a59dcf318faeba0f05f..d349527aaf3f4845e882aee9829c589428dd7b08 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 echo a > a || framework_failure_
index 94e5aea160655abbcf5df66faa8456c012d41a1c..b9e7612641ffc6acecaf45e84b4aa2c36e9d51b3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 require_root_
 working_umask_or_skip_
index bbbd75a74dfe41fb7aac6694a554fcb941fac0c7..d1ccfd0bac9ba765e9b36508f41aa0b71baa13b7 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir src-dir dest-dir || framework_failure_
index b85298488d9a4d4d8d67487bd2e8e877d73d8def..f398ffb982f02a32c38c76edbc835bd7bf3f7fc5 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 require_root_
 require_selinux_
index 08a1485f996305dfd19896fca396119ca46b70ae..4d62e868c812dd1e0b6b7621420d4e911d9a7b3b 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir a b c d || framework_failure_
index 746dc2765ef52b0f3c0eed4b754015ded04d213c..16c80ee2935ab07def1bc120a29824387a48a0e0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir -p a b/a/c || framework_failure_
index 030f722dc644351f0faf97ad36e6e996769492ea..85812b509e541a29e7976d6eb75110f1f79d731a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 umask 022
index 66e54cf11e2bb1c97720c1b4b86e6ecd21fca4e9..2318cc29684ef2175e421f615e39b2166d1158e0 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 require_root_
index 506e708acbaedee0226093c7f13761fd4165f2d6..97a8c9e99a4b32d07f52d9fa1d7ce8775c1e28e6 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 working_umask_or_skip_
index 93f5cb8aed5d28dc245284344a2d420f4391c174..9a96c483386793f3ee6b3b5b60cc7834637b47b0 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 touch f slink-target || framework_failure_
index b2f0e72c59edd8a7b95b2637eeb6892218561bf2..046e8d210cff29839bbf5405f1596000eb1aee97 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir d e || framework_failure_
index b14aad82305bd7d352e2ff0dda0c320912ee7ca2..846d8e5dab4b93bcf72c247a52284c3baa90b818 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir dir1 dir2 || framework_failure_
index c8e388fa7b7be5f8f1ad6f06ef1eee937eba859f..f2fa7917673b8913e4fe77fbdb8ac674be5900b5 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir dir || framework_failure_
index 40b55a3f4ab9131596e61aba1ba571e00e52968e..bd14ee982ce252a84eb8fb5d7afc5d4d22ba4dcf 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 umask 002
index 35c1556f5ae339faf0dcc8d4f715f9b2ac900536..b683d3597a437672ccd674135932e8e4d295bf4d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 require_membership_in_two_groups_
index 2c37d6fb1bacfe1ff94e137f9e1d365c908233be..4098d1f1ecba2194692ae36588e44cde24f278cc 100755 (executable)
@@ -15,7 +15,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 skip_if_root_
 
index f24baf2828ccde2ca2ddd1a7273a2fa6de23849b..3fd47cc1e8a463e1d0612c06aeade69238991512 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # Require a fiemap-enabled FS.
index 4ba4ee30e410e42de1064a091df3e1f8b6e65ffb..fb7bb355c7e83c0587cdaf1d8c304b35effbbc6f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # FIXME: enable any part of this test that is still relevant,
index ca093b5a008de48e553a6459d6d41aa189effbc4..bb6f5bc539a580476d0fd64c61632e4c1fe50cb7 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # Require a fiemap-enabled FS.
index fbc9a86eba639275d4b664a75753d0286f595b6d..c917117c2a770483c45057a7ed093ed26814b1e9 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least
index 6121f0ad8b35053123f5344f12641e993a8fa2d4..2f123e3aa66ce43c1c58dac0ebf6cbb475f5f680 100755 (executable)
@@ -21,7 +21,7 @@
 # Now it gives this:
 #   cp: can't copy a directory 'dir' into itself 'dir/dir'
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir a dir || framework_failure_
index 7e948de7babea93b90a64721311d85a858db7f9b..d243c81547df3596d8e4446379b8d11897bdf1c1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 expensive_
 require_ulimit_
index af48fd085909c4bb7efd47f1a54581bb76c80bdc..ac6bc44fe54fc36000fa0f982fbbe8fb9193d4cf 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 ln -s no-such-file dangling-slink || framework_failure_
index 9ca1705f58aef939471713bbc28ff05e05d36c31..0c75d305edb518254b6c452d7cabd6da7f2f0079 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 touch a || framework_failure_
index 57bc9c715935c1938636a9eb0069271e6b6ddfdf..518688762a305f2b8aeaedbd7e8b5c6bece5dccf 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # Check that the timestamps of the symlink are copied
index 3a899f31caf5b327a448e1f03019495993a6e8b6..3e15bf034b3a6fe88c405aba59dc8394f3e38f0d 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 touch src || framework_failure_
index cb8aba37f9924fb22cf2f83da42688db7d0cba70..63382c80fede92edc4793a1b2759de1fa3c5d7e6 100755 (executable)
@@ -28,7 +28,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # Replace each stat call with a call to this wrapper.
index c2a5657937288803e269312086dfcbbba7e01653..9ae7eb15fa207cf71119750e642698e14b96d328 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir a b
index 584029954175d208ded213da5aa255364f714ac5..52a42ec30f9df5178a6949145bb2e7c20562a0d7 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir b
index 5f63f2699fcb8cc6d2215e0dad051e074cb4d199..c16668d443b18c64af30bb042719198ebc8cd616 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 msg=bar
index 41486fcb13446dbf258fc3602354e01f60c74cb8..209dceaac145e96eb7da765bb7b7e00b54a21ec0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least
index bac38c683cfe3c7bc78b7815c040db8ccad9ecc5..7e3eba0d17f7a7f0587f03daccf78b47316baa20 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 working_umask_or_skip_
index a93df71824f820f2512790d8ce94799ef53bbc31..74d948b317b58c14bf70b2f30e8b7e91d5a16fdd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 very_expensive_
index fea4b6c336fa93c56309651684a7380b6d469a5e..9ee21492b793d105dabe4214268b152c96fff501 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least
index 746c57a6076e71ffa20c763c7e4371cca3d7b0ae..fbafe1c1811a992166ac680bd8351b0ac9f7d702 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 require_root_
index 5f069af7c0b90b571d85bac62afd7ab1f1e6e7f3..428edc3c5aeee25bf9304a3db2f6125aaac85254 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 same_inode()
index dc5d1cdd86c9b46346338c3beefe6a8411a2b650..38110c3519f2c83cc98f503e2938a4e092f897a1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 grep '^#define HAVE_UTIMENSAT 1' "$CONFIG_HEADER" > /dev/null ||
index 632418e4bb2df69094efa91d98142ecf69d3c5cb..df8c12713a40ee4ed124367a1e3c83c01ded84a9 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 kall=/proc/kallsyms
index b8b9e9c607d767f64f8ac33e84be61e6455ea2dd..d51cc1d27864c429c5be32868cc4b85eace8151e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 touch empty || framework_failure_
index e96c58425816039f3bd0f983b660e620f07ef96f..3c579fc7e2c59a48ae707a5bc3f8e85c2aeb06ec 100755 (executable)
@@ -20,7 +20,7 @@
 # though now such usage evokes a warning:
 # cp: 'slink': WARNING: using -r to copy symbolic links is not portable
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 echo abc > foo || framework_failure_
index 036148c4ea65d6b6d9a31e9b39533659af8f9d55..7b6eb1956cb0d9518ba3f137eee1db3c3027654c 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 a_other="$other_partition_tmpdir/a"
 rm -f "$a_other" || framework_failure_
 
index c229993a28d9fc9f3fe4184785d8493baed76337..22be2612fc7b52cd208834c5ab6d4b6d818dca03 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 
index 2ca7bf6ba397bd4fbbf1a53a5e084ac30942d583..d653b2d0147f2e5479158d098c01a0cb6bc3a7a6 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 # Unset CDPATH.  Otherwise, output from the 'cd dir' command
index bf323873692b79677cde741bee79eab569883fd0..d7e1e4f76b8dce054446bc7579816993988f3466 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 touch file || framework_failure_
index f2e5f330d4c75accdb28d173c1ad1586e71053f3..65b8e608c8d517667aa15e11405b43fe7efe07f2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 require_perl_
 
@@ -102,7 +102,7 @@ for i in $(seq 1 2 21); do
       # exclude the physical block numbers; they always differ
       filefrag -v j1 > ff1 || framework_failure_
       filefrag -vs j2 > ff2 || framework_failure_
-      { f ff1; f ff2; } | $PERL $abs_top_srcdir/tests/filefrag-extent-compare \
+      { f ff1; f ff2; } | $PERL $abs_srcdir/tests/filefrag-extent-compare \
         || {
              warn_ ignoring filefrag-reported extent map differences
              # Show the differing extent maps.
index 0cfda8d55117b8d8d26ccc5fbceb2ae5f573e1cb..9987a3f56c340b282130bf8bcd66bf8eb1c5a27b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 require_sparse_support_
index a552028778660ad0aa2ddba00f8adcbfc7e49fab..8965e9a4853b4a05b7e50a1777400726fd29795d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 require_sparse_support_
 
index 4a00891d95e56a74cb0bbcfebcece1e595cdb118..8058ad352f179d3c618e5f328519a48d66c8777f 100755 (executable)
@@ -20,7 +20,7 @@
 # This test would fail due to a bug introduced in 4.0y.
 # The bug was fixed in 4.0z.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 require_root_
 
index a47655ef781b12f10c258fbe4a16ac26911abe6d..0dea82b0f41ce0f093ce5d0625c832788d9bca9e 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkfifo_or_skip_ fifo
index 14438d09acb2c34e696b64db5636c8f00a97eb54..ecab07828583b5fdea1d33647a4f448730660537 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir x y || framework_failure_
index 95c9cfa0465f7119189229a677b244c251396cb5..fa4e297a24321c32f3bacd9328f789baf96c5874 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 mkdir dir || framework_failure_
index f8527af8d0dd5fdd16a36dfde5a2af184615f331..c992c9ca7ca8c353ea191231ae2fb1d4434cdf52 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 
 ln -s no-such dangle || framework_failure_
index 2d40f06415c405988d19836e4fdd9d288aadc251..d110518932961d35811861d0e2aa3e22f88bad1c 100755 (executable)
@@ -15,7 +15,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 # count_bytes
index c231bee30730c17e59144f9addadf67c44286f2c..a00f1cd20306b4b9683af68f8d347dfc11459db3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 truncate -s 8192 in || framework_failure_
index 52a5b20814d21cf2edb71fc2dffc5dc7256d5d72..9a9bba1ea3f7a4c80769eb8cc03499c1aba30d61 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 tmp_in=dd-in
index 274bb8a0358b2db4d0a321f171b029a86eabc9ed..5849b2852b39ebbe71e82726ac5352100fde4711 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 # This should not call posix_fadvise
index 5364f907f3649cf53716a86441f91330ea18e3b9..d469e5b9330d55b8f0645047eee147a8a9d61cf0 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 
index 92253fb194f85cd36d6ec5cf749dddfa5953f928..68e4a56d0be7106b90664cb99f928447a8aea44c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 # 2 short reads -> 1 full write + 1 partial write
index f4184b1bf6e5c57c0693653e359acf4ff8c103f3..5f6ba9de2a53cccc4c17d13a6051592c40329d3d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 # need write access to local device
index 0a8e1fdc54ec56d5821bbc02d2fc17f5775b6256..c728b3a52b3f1e0e8430ba9a36e4f26757b8c40b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 require_sparse_support_ # for 'truncate --size=$OFF_T_MAX'
 eval $(getlimits) # for OFF_T limits
index 7f5e0560fe8e7da1ce7d4a9e28b7c84ea461019f..d01e1effa5f880bf675c02ee1daa7ab94345696d 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 
index 35ddda91e91183ab4eae692a2b4c2bee967be917..0c48140eba4a69f3a08fabd21039742805a36526 100755 (executable)
@@ -15,7 +15,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 require_sparse_support_
 
index 2c062787d2a06b67ad2da539007f54e5d6ef2a48..81e9e554ed8e63bb352b5f43101670453a7e340b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 p=$abs_top_builddir
index 68239f228aeee4e476fbd02ad00454785cb7217f..d185609e9cd2896d0a036dbafe854c209a6f4942 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ dd
 
 printf 000100020003xx > in || framework_failure_
index dfce41419683c627b2ed09094565da39d50bcae0..523dc56918c9b1a3bf04bdcc27c3bd9313742fcb 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 
 
index 4fc626e8fb67d3bb98a1fb8bb60c33a329e07bb0..0bf285846865a44722314a15830d32a267b4e783 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 
 case $(df .) in
index e434f5f3e49f47cbf26a9d539cf6f7cb6437a855..ff0316ee91c3171313f2be08f455610c6c436d93 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 
 df || skip_ "df fails"
index 801c4d9cfcef74951c5ec3fd95d371221a21bcc9..d4f7c51679e449e802d2b213da1a8955c02ca7da 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 require_root_
 
index aa4983683d9b007507b2c7940490185166924e17..1bc947d6fd6c7305104a165e0d2d5e18f73b91ef 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 require_mount_list_
 
index 948b002e0016bb4f13bad6bf8feede5eeb37100e..45c838ecf7ca1001a00ee0acb37a905b957be9ea 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 require_perl_
 
index b0ef3fc84ff223c679cf0fbd917639203fcf1c69..c2af0411f8ed19a5221ada8692340b869ee20874 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ df
 skip_if_root_
 
index 96cf62d7caa30b7bf681186cc8021d7ae411aa3f..010d8cebb63ae7093e515cbe94cff437243202c8 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # Creating a 2GB file counts as 'very expensive'.
index 556423e3c369d4d799e623dcc43d0a4dc693dc26..c000718f09f87aa9157096456583f39063f04ac3 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 require_sparse_support_
 
index d8acf6420d785c711e41170202c7f294df0e9da8..b05508f2fec7d6cb6e260591992e79e45fdfca52 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p a/b d d/sub || framework_failure_
index 964fb710a85e311cbf3c180fd182a28aa19cc0a5..70f69bf2a0f707b6c42835c5f983cb8ba67d65c1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 
 export LC_ALL=C
 export TZ=UTC0
index 516ceae58525a654cf0708834402300896620510..d8d381afe3865a040ef4da577c7e2b88d95dc3a0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 require_root_
 
index 098e01a468e28b774f8f47bd5a0aa59a74578b04..b4761e5c85bf351969effc8f712933bdf4c174b4 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p dir/a || framework_failure_
index 90b76503924fae069c1b17330962aa213b247af6..77c61c7f3f99cd774a956b7197374b3ec5dae1e0 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p a/sub || framework_failure_
index cad2d7f89aa81bc2375c9e8378a3fef1b8f86be4..eba0dd2271f4e8bfb65ebd79fd1953130afd6650 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p a/b/c a/x/y a/u/v || framework_failure_
index 84a22760a696a7551808c26e5ba2aae8af4bbd22..cb68650170bde9b6b0fa638209260443f7a8eaef 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # Call this an expensive test.  It's not that expensive, but command line
index 86bfe269b19f3a959ca129bd27bb236b9358cf0a..20eb82f7e9aaf654d43b41afa48e3da7950e465f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du wc
 
 mkdir dir
index 0e0641e75aeb3bc5028785653369cf91a6256852..ede8bc8af619fefab1decddbcdd22bcc49c001d0 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p dir/sub
index c9c709759651ad94b4ca2782f2fd030a3813ce54..54010b343fb84fc493e896aef8017129efebdf29 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 skip_if_root_
 
index 8395c56e8601ebdb884f02cc79a3573ff2771d12..f03d054ba4b0d2c13b6818b29f846301d2b552b2 100755 (executable)
@@ -15,7 +15,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 skip_if_root_
 
index bfc8cf92e53db96a36e5c2aeb6a5214bc4ca93d2..0372ad08452d6fdd62aa15909d61619c76fdf17a 100755 (executable)
@@ -20,7 +20,7 @@
 # Before the switch to an fts-based implementation in coreutils 5.0.92,
 # this test would fail.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # Skip this test if your system has neither the openat-style functions
index 7fc129c170b2f9ef6eeafbf5fa7a4bac21f6400c..8362e98bc535e9747ca02a85f4a35bc37e070201 100755 (executable)
@@ -28,7 +28,7 @@
 # on Linux+PROC_FS systems because its fts implementation would revert
 # unnecessarily to using FTS_NOCHDIR mode in this corner case.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 proc_file=/proc/self/fd
index 48e2e30acf99f81f5802561052c469d23141dd78..583009d83dd9ebb68b5c45450227de338942c36a 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # Create lots of directories, each containing a single symlink
index 30671c4d8646f8009386449c91d25e2b460eb04d..25e2a12897e1acf292330da600275f514a71c949 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 
 mkdir -p a/b/c/d/e || framework_failure_
 printf 'a/b/c\na/b\na\n' > exp || framework_failure_
index 4f603a0e136f731b27b41378f7045e89ae1d7808..0998d8c32abbd3dff950526f7a9d08dbbca652bc 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # We use a python-inotify script, so...
index 2f205512380018332dcb93fb8fbf6820de6fe40e..e476d8b29fbef58b2195ac02015199e1bd7c9d0a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p dir/a/b || framework_failure_
index 28f797685713275092553ed3d4c4886e4092aa29..420ae4be539b0f24d054272dd0f4927fbf014951 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 skip_if_root_
 
index 110080f0296b3ed71d4a4ec10e16b63065bf720a..a0e6f0e062718ec5d74b0065f2385c8897906759 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 mkdir -p b/c y/z d "$other_partition_tmpdir/x" || framework_failure_
 ln -s "$other_partition_tmpdir/x" d || framework_failure_
index 19ed5fa005fec41e9e31e8e865917c87656aff23..836ce05b1dcf7313d0a3d754efd43fb172140b73 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir a b || framework_failure_
index 95012411a8c69562f3058621c7345125ca17d351..25820c7bb178f0b24e1fa0d65c5ec8ecef4b2c44 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 require_readable_root_
 
index 674e6a2248cf0b389a0b08ab40e6bf5cc2bfc4fc..eba1e452614ad651edef2fdabbbc89a6d9d0b2ae 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # Determine if '.' is on a local (would non-NFS be sufficient?) file system.
index 4efda6c7388727437028dbb9911d8e7708280779..feb9d064147d7c68e1e6efd4a291248042f25c9a 100755 (executable)
@@ -19,7 +19,7 @@
 
 # Before coreutils-4.5.3, it would remove a single trailing slash.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 mkdir -p dir/1/2 || framework_failure_
index 10c0a05788fb9d9800ae9db54198c97bfd0e8160..6a6bbec185516314e087fdf5d85c259dbdc25a7e 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ du
 
 # Run this test from a sub-directory one level deeper than normal,
index 2efb8c5ce80e5deccc2644c9fd008b69da9ae527..21d0be46e215d46b6c6f8046c5fb3d6c199ddb1e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ fmt
 
 cat <<\_EOF_ > base || fail=1
index 04674e201772fafee8e201cf3d3c00928a854316..69994c2f74b940853b254202062c0ac556857ae0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ fmt
 
 printf '%2030s\n' ' '|sed 's/../ y/g' > in || framework_failure_
index 6ca8dc6514ba28da749358336173da9d61b71941..ef47c6cf7d96be7690e5830307e0a2b7d4d1b8b3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ id
 
 require_gnu_
index 94111b84e49ca355a7225fb1b9e891f8b04da756..063295521862028e76754cd01bc91a012a1b9fde 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ id
 
 # We don't need selinux *FS* support to test id,
index aa80fcf33942793c98eaf42a1057060b24d3d1cb..08055f5b9e9837d1245928b9975d05a063ba0199 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 skip_if_root_
 
index 0ecf4d9587d17ca18c3b828f052669afbc5b8850..6a71919051535e60641f5c302b6c03e2f7dc2526 100755 (executable)
@@ -19,7 +19,7 @@
 # Note that the tests below use 'ginstall', not install, because
 # that's the name of the binary in ../../src.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 
 
index 2abdd57a8f88ca0b945e748a53b250f3f7c19c4c..5e6cb55f327a8056cdc2f9823fb0782c8a2cca0d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ install
 
 
index 5fbae058a92840e4e28e524e53ae04e0329f9c4a..9a203e98934ffdda20e497958f8656fe898775e3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 require_root_
 skip_if_setgid_
index db2a5d227dbc166267b619d622aa39994ae03d64..c8a21e94491e21ac51dec588a5d28adc8ce4a325 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 require_selinux_
 
index 0883d9e6b8c8e912056221aea16bdafb6ede69a4..c3739713c082b65a6823acf81769400c1e017dd0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 skip_if_setgid_
 
index 5916141183303ef228252fbd88ef9c5950be2ccd..d38b4f4c70c577973299980f534be96477272621 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 
 working_umask_or_skip_
index e3ccf54ac01739a61bcc08a224e2b619ef89dfce..ea7153b84ece4c14ebc419732ffa4d5bbd88f01c 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ginstall
 
 
index ffd630bcf2f52bd87315bf6b45c35649411fb7c7..ecd77f5b162a106d1000a0273d49acad3d1a1891 100755 (executable)
@@ -19,7 +19,7 @@
 
 # Based on a problem report from Jamie Lokier.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 touch a b || framework_failure_
index bc38bbe5d32474df4dfdb50e96fa78a1d6717c67..fe87f6a3eb67c5400e56f30ada51314081c09c86 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 touch f || framework_failure_
index 358b93008a521f8261e17a05d1bcaaef296077e9..3b30a7109ceee1a052362521938a1eb6572f6371 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 
index 4da0eda45393a8a8211b35c8ff02175b72763bac..79e2beae6970f80659b1d96bf484b22908b8af49 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 t=tln-symlink
index cfc34691e91a2c75b292a96551806a16b351a3b5..9028b439b2dd20f418d292bad00a10a2555191d3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 mkdir -p usr/bin || framework_failure_
index 824c22432245d7119d331f144429272fa1443983..6efea75b0dfbb64d68284aba59d7d6f89d568ece 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 echo foo > a || framework_failure_
index 5da855e6caa96f8d65e827572799e7e43b754a11..ae24cdc704fa398205f6cbfb2c5b31963a82c826 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 touch f || framework_failure_
index 1d511e5e7aeef0f1893ab82c493db59b7608a595..7dc1829f40714eb053752a7d6a485b10f9013d38 100755 (executable)
@@ -21,7 +21,7 @@
 # ln: 'd/.': cannot overwrite directory
 # Based on a test case from Dmitry V. Levin.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ln
 
 mkdir d || framework_failure_
diff --git a/tests/local.mk b/tests/local.mk
new file mode 100644 (file)
index 0000000..56baa27
--- /dev/null
@@ -0,0 +1,801 @@
+## Process this file with automake to produce Makefile.in -*-Makefile-*-.
+
+## Copyright (C) 2007-2012 Free Software Foundation, Inc.
+
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+
+## You should have received a copy of the GNU General Public License
+## along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Indirections required so that we'll still be able to know the
+# complete list of our tests even if the user override TESTS from the
+# command line (which he's allowed to do by the test harness API).
+TESTS = $(all_tests)
+root_tests = $(all_root_tests)
+
+EXTRA_DIST += $(all_tests)
+
+# Ensure that each version-controlled file in 'tests/' with a suffix
+# specified in $(TEST_EXTENSIONS) is listed in $(all_tests).
+vc_exe_in_TESTS:
+       $(AM_V_GEN)test -d $(top_srcdir)/.git || exit 1;                \
+       bs="\\";                                                        \
+       test_extensions_rx=`echo $(TEST_EXTENSIONS)                     \
+         | sed -e "s/ /|/g" -e "s/$$bs./$$bs$$bs./g"`;                 \
+       {                                                               \
+         for t in $(all_tests); do echo $$t; done;                     \
+         cd $(top_srcdir);                                             \
+         $(SHELL) build-aux/vc-list-files $(subdir)                    \
+           | grep -v '^tests/init\.sh$$'                               \
+           | $(EGREP) "$$test_extensions_rx\$$";                       \
+       } | sort | uniq -u | grep . && exit 1; :
+
+check-local: vc_exe_in_TESTS
+.PHONY: vc_exe_in_TESTS
+
+TEST_EXTENSIONS = .sh .pl .xpl
+
+if HAVE_PERL
+TESTSUITE_PERL = $(PERL)
+else
+TESTSUITE_PERL = $(SHELL) $(srcdir)/no-perl
+endif
+
+# Options passed to the perl invocations running the perl test scripts.
+TESTSUITE_PERL_OPTIONS = -w -I$(srcdir)/tests -MCoreutils -MCuSkip
+# '$f' is set by the Automake-generated test harness to the path of the
+# current test script stripped of VPATH components, and is used by the
+# CuTmpdir module to determine the name of the temporary files to be
+# used.  Note that $f is a shell variable, not a make macro, so the use
+# of '$$f' below is correct, and not a typo.
+TESTSUITE_PERL_OPTIONS += -M"CuTmpdir qw($$f)"
+
+SH_LOG_COMPILER = $(SHELL)
+PL_LOG_COMPILER = $(TESTSUITE_PERL) $(TESTSUITE_PERL_OPTIONS)
+# Perl scripts that must be run in tainted mode.
+XPL_LOG_COMPILER = $(TESTSUITE_PERL) -T $(TESTSUITE_PERL_OPTIONS)
+
+# Note that the first lines are statements.  They ensure that environment
+# variables that can perturb tests are unset or set to expected values.
+# The rest are envvar settings that propagate build-related Makefile
+# variables to test scripts.
+AM_TESTS_ENVIRONMENT =                         \
+  . $(srcdir)/tests/lang-default;              \
+  tmp__=$${TMPDIR-/tmp};                       \
+  test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.;   \
+  . $(srcdir)/tests/envvar-check;              \
+  TMPDIR=$$tmp__; export TMPDIR;               \
+  export                                       \
+  VERSION='$(VERSION)'                         \
+  LOCALE_FR='$(LOCALE_FR)'                     \
+  LOCALE_FR_UTF8='$(LOCALE_FR_UTF8)'           \
+  abs_top_builddir='$(abs_top_builddir)'       \
+  abs_top_srcdir='$(abs_top_srcdir)'           \
+  abs_srcdir='$(abs_srcdir)'                   \
+  built_programs='$(built_programs)'           \
+  host_os=$(host_os)                           \
+  host_triplet='$(host_triplet)'               \
+  srcdir='$(srcdir)'                           \
+  top_srcdir='$(top_srcdir)'                   \
+  CONFIG_HEADER='$(abs_top_builddir)/$(CONFIG_INCLUDE)' \
+  CU_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
+  CC='$(CC)'                                   \
+  AWK='$(AWK)'                                 \
+  EGREP='$(EGREP)'                             \
+  EXEEXT='$(EXEEXT)'                           \
+  MAKE=$(MAKE)                                 \
+  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'     \
+  PACKAGE_VERSION=$(PACKAGE_VERSION)           \
+  PERL='$(PERL)'                               \
+  PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
+  ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \
+  PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
+  ; 9>&2
+
+# On failure, display the global testsuite log on stdout.
+VERBOSE = yes
+
+EXTRA_DIST +=                  \
+  tests/Coreutils.pm           \
+  tests/CuSkip.pm              \
+  tests/CuTmpdir.pm            \
+  tests/d_type-check           \
+  tests/envvar-check           \
+  tests/filefrag-extent-compare \
+  tests/fiemap-capable         \
+  init.cfg                     \
+  tests/init.sh                        \
+  tests/lang-default           \
+  tests/no-perl                        \
+  tests/other-fs-tmpdir                \
+  tests/sample-test            \
+  $(pr_data)
+
+all_root_tests =                               \
+  tests/chown/basic.sh                         \
+  tests/cp/cp-a-selinux.sh                     \
+  tests/cp/preserve-gid.sh                     \
+  tests/cp/special-bits.sh                     \
+  tests/cp/cp-mv-enotsup-xattr.sh              \
+  tests/cp/capability.sh                       \
+  tests/cp/sparse-fiemap.sh                    \
+  tests/dd/skip-seek-past-dev.sh               \
+  tests/df/problematic-chars.sh                        \
+  tests/du/bind-mount-dir-cycle.sh             \
+  tests/install/install-C-root.sh              \
+  tests/ls/capability.sh                       \
+  tests/ls/nameless-uid.sh                     \
+  tests/misc/chcon.sh                          \
+  tests/misc/chroot-credentials.sh             \
+  tests/misc/id-setgid.sh                      \
+  tests/misc/selinux.sh                                \
+  tests/misc/truncate-owned-by-other.sh                \
+  tests/mkdir/writable-under-readonly.sh       \
+  tests/mv/sticky-to-xpart.sh                  \
+  tests/rm/fail-2eperm.sh                      \
+  tests/rm/no-give-up.sh                       \
+  tests/rm/one-file-system.sh                  \
+  tests/rm/read-only.sh                                \
+  tests/tail-2/append-only.sh                  \
+  tests/touch/now-owned-by-other.sh
+
+ALL_RECURSIVE_TARGETS += check-root
+.PHONY: check-root
+check-root:
+       $(MAKE) check TESTS='$(root_tests)'
+
+# Do not choose a name that is a shell keyword like 'if', or a
+# commonly-used utility like 'cat' or 'test', as the name of a test.
+# Otherwise, VPATH builds will fail on hosts like Solaris, since they
+# will expand 'if test ...' to 'if .../test ...', and the '.../test'
+# will execute the test script rather than the standard utility.
+
+# Notes on the ordering of these tests:
+# Place early in the list tests of the tools that
+# are most commonly used in test scripts themselves.
+# E.g., nearly every test script uses rm and chmod.
+# help-version comes early because it's a basic sanity test.
+# Put seq early, since lots of other tests use it.
+# Put tests that sleep early, but not all together, so in parallel builds
+# they share time with tests that burn CPU, not with others that sleep.
+# Put head-elide-tail early, because it's long-running.
+
+all_tests =                                    \
+  tests/misc/help-version.sh                   \
+  tests/tail-2/inotify-race.sh                 \
+  tests/misc/invalid-opt.pl                    \
+  tests/rm/ext3-perf.sh                                \
+  tests/rm/cycle.sh                            \
+  tests/cp/link-heap.sh                                \
+  tests/misc/tty-eof.pl                                \
+  tests/tail-2/inotify-hash-abuse.sh           \
+  tests/tail-2/inotify-hash-abuse2.sh          \
+  tests/tail-2/F-vs-missing.sh                 \
+  tests/tail-2/F-vs-rename.sh                  \
+  tests/tail-2/inotify-rotate.sh               \
+  tests/chmod/no-x.sh                          \
+  tests/chgrp/basic.sh                         \
+  tests/rm/dangling-symlink.sh                 \
+  tests/misc/ls-time.sh                                \
+  tests/rm/d-1.sh                              \
+  tests/rm/d-2.sh                              \
+  tests/rm/d-3.sh                              \
+  tests/rm/deep-1.sh                           \
+  tests/rm/deep-2.sh                           \
+  tests/rm/dir-no-w.sh                         \
+  tests/rm/dir-nonrecur.sh                     \
+  tests/rm/dot-rel.sh                          \
+  tests/rm/isatty.sh                           \
+  tests/rm/empty-inacc.sh                      \
+  tests/rm/empty-name.pl                       \
+  tests/rm/f-1.sh                              \
+  tests/rm/fail-eacces.sh                      \
+  tests/rm/fail-eperm.xpl                      \
+  tests/tail-2/assert.sh                       \
+  tests/rm/hash.sh                             \
+  tests/rm/i-1.sh                              \
+  tests/rm/i-never.sh                          \
+  tests/rm/i-no-r.sh                           \
+  tests/tail-2/infloop-1.sh                    \
+  tests/rm/ignorable.sh                                \
+  tests/rm/inaccessible.sh                     \
+  tests/rm/interactive-always.sh               \
+  tests/rm/interactive-once.sh                 \
+  tests/rm/ir-1.sh                             \
+  tests/rm/one-file-system2.sh                 \
+  tests/rm/r-1.sh                              \
+  tests/rm/r-2.sh                              \
+  tests/rm/r-3.sh                              \
+  tests/rm/r-4.sh                              \
+  tests/rm/readdir-bug.sh                      \
+  tests/rm/rm1.sh                              \
+  tests/touch/empty-file.sh                    \
+  tests/rm/rm2.sh                              \
+  tests/rm/rm3.sh                              \
+  tests/rm/rm4.sh                              \
+  tests/rm/rm5.sh                              \
+  tests/rm/sunos-1.sh                          \
+  tests/rm/unread2.sh                          \
+  tests/rm/unread3.sh                          \
+  tests/rm/unreadable.pl                       \
+  tests/rm/v-slash.sh                          \
+  tests/rm/many-dir-entries-vs-OOM.sh          \
+  tests/chgrp/default-no-deref.sh              \
+  tests/chgrp/deref.sh                         \
+  tests/chgrp/no-x.sh                          \
+  tests/chgrp/posix-H.sh                       \
+  tests/chgrp/recurse.sh                       \
+  tests/fmt/base.pl                            \
+  tests/fmt/long-line.sh                       \
+  tests/fmt/goal-option.sh                     \
+  tests/misc/env.sh                            \
+  tests/misc/ptx.pl                            \
+  tests/misc/test.pl                           \
+  tests/misc/seq.pl                            \
+  tests/misc/seq-long-double.sh                        \
+  tests/misc/head.pl                           \
+  tests/misc/head-elide-tail.pl                        \
+  tests/tail-2/tail-n0f.sh                     \
+  tests/misc/ls-misc.pl                                \
+  tests/misc/date.pl                           \
+  tests/misc/date-next-dow.pl                  \
+  tests/misc/ptx-overrun.sh                    \
+  tests/misc/xstrtol.pl                                \
+  tests/tail-2/pid.sh                          \
+  tests/misc/od.pl                             \
+  tests/misc/od-float.sh                       \
+  tests/misc/mktemp.pl                         \
+  tests/misc/arch.sh                           \
+  tests/misc/pr.pl                             \
+  tests/misc/join.pl                           \
+  tests/pr/pr-tests.pl                         \
+  tests/misc/pwd-option.sh                     \
+  tests/misc/chcon-fail.sh                     \
+  tests/misc/cut.pl                            \
+  tests/misc/wc.pl                             \
+  tests/misc/wc-files0-from.pl                 \
+  tests/misc/wc-files0.sh                      \
+  tests/misc/wc-parallel.sh                    \
+  tests/misc/cat-proc.sh                       \
+  tests/misc/cat-buf.sh                                \
+  tests/misc/base64.pl                         \
+  tests/misc/basename.pl                       \
+  tests/misc/close-stdout.sh                   \
+  tests/misc/chroot-fail.sh                    \
+  tests/misc/comm.pl                           \
+  tests/misc/csplit.sh                         \
+  tests/misc/csplit-1000.sh                    \
+  tests/misc/csplit-heap.sh                    \
+  tests/misc/date-sec.sh                       \
+  tests/misc/dircolors.pl                      \
+  tests/misc/dirname.pl                                \
+  tests/misc/env-null.sh                       \
+  tests/misc/expand.pl                         \
+  tests/misc/expr.pl                           \
+  tests/misc/factor.pl                         \
+  tests/misc/false-status.sh                   \
+  tests/misc/fold.pl                           \
+  tests/misc/groups-dash.sh                    \
+  tests/misc/groups-version.sh                 \
+  tests/misc/head-c.sh                         \
+  tests/misc/head-pos.sh                       \
+  tests/misc/id-context.sh                     \
+  tests/misc/id-groups.sh                      \
+  tests/misc/id-setgid.sh                      \
+  tests/misc/md5sum.pl                         \
+  tests/misc/md5sum-bsd.sh                     \
+  tests/misc/md5sum-newline.pl                 \
+  tests/misc/md5sum-parallel.sh                        \
+  tests/misc/mknod.sh                          \
+  tests/misc/nice.sh                           \
+  tests/misc/nice-fail.sh                      \
+  tests/misc/nl.sh                             \
+  tests/misc/nohup.sh                          \
+  tests/misc/nproc-avail.sh                    \
+  tests/misc/nproc-positive.sh                 \
+  tests/misc/od-N.sh                           \
+  tests/misc/od-multiple-t.sh                  \
+  tests/misc/od-x8.sh                          \
+  tests/misc/paste.pl                          \
+  tests/misc/pathchk1.sh                       \
+  tests/misc/printenv.sh                       \
+  tests/misc/printf.sh                         \
+  tests/misc/printf-cov.pl                     \
+  tests/misc/printf-hex.sh                     \
+  tests/misc/printf-surprise.sh                        \
+  tests/misc/pwd-long.sh                       \
+  tests/misc/readlink-fp-loop.sh               \
+  tests/misc/readlink-root.sh                  \
+  tests/misc/realpath.sh                       \
+  tests/misc/runcon-no-reorder.sh              \
+  tests/misc/sha1sum.pl                                \
+  tests/misc/sha1sum-vec.pl                    \
+  tests/misc/sha224sum.pl                      \
+  tests/misc/sha256sum.pl                      \
+  tests/misc/sha384sum.pl                      \
+  tests/misc/sha512sum.pl                      \
+  tests/misc/shred-exact.sh                    \
+  tests/misc/shred-passes.sh                   \
+  tests/misc/shred-remove.sh                   \
+  tests/misc/shuf.sh                           \
+  tests/misc/sort.pl                           \
+  tests/misc/sort-benchmark-random.sh          \
+  tests/misc/sort-compress.sh                  \
+  tests/misc/sort-compress-hang.sh             \
+  tests/misc/sort-compress-proc.sh             \
+  tests/misc/sort-continue.sh                  \
+  tests/misc/sort-debug-keys.sh                        \
+  tests/misc/sort-debug-warn.sh                        \
+  tests/misc/sort-discrim.sh                   \
+  tests/misc/sort-files0-from.pl               \
+  tests/misc/sort-float.sh                     \
+  tests/misc/sort-merge.pl                     \
+  tests/misc/sort-merge-fdlimit.sh             \
+  tests/misc/sort-month.sh                     \
+  tests/misc/sort-exit-early.sh                        \
+  tests/misc/sort-rand.sh                      \
+  tests/misc/sort-spinlock-abuse.sh            \
+  tests/misc/sort-stale-thread-mem.sh          \
+  tests/misc/sort-unique.sh                    \
+  tests/misc/sort-unique-segv.sh               \
+  tests/misc/sort-version.sh                   \
+  tests/misc/sort-NaN-infloop.sh               \
+  tests/misc/sort-u-FMR.sh                     \
+  tests/split/filter.sh                                \
+  tests/split/suffix-auto-length.sh            \
+  tests/split/suffix-length.sh                 \
+  tests/split/additional-suffix.sh             \
+  tests/split/b-chunk.sh                       \
+  tests/split/fail.sh                          \
+  tests/split/lines.sh                         \
+  tests/split/l-chunk.sh                       \
+  tests/split/r-chunk.sh                       \
+  tests/split/numeric.sh                       \
+  tests/split/guard-input.sh                   \
+  tests/misc/stat-birthtime.sh                 \
+  tests/misc/stat-fmt.sh                       \
+  tests/misc/stat-hyphen.sh                    \
+  tests/misc/stat-mount.sh                     \
+  tests/misc/stat-nanoseconds.sh               \
+  tests/misc/stat-printf.pl                    \
+  tests/misc/stat-slash.sh                     \
+  tests/misc/stdbuf.sh                         \
+  tests/misc/stty.sh                           \
+  tests/misc/stty-invalid.sh                   \
+  tests/misc/stty-pairs.sh                     \
+  tests/misc/stty-row-col.sh                   \
+  tests/misc/sum.pl                            \
+  tests/misc/sum-sysv.sh                       \
+  tests/misc/tac.pl                            \
+  tests/misc/tac-continue.sh                   \
+  tests/misc/tac-2-nonseekable.sh              \
+  tests/misc/tail.pl                           \
+  tests/misc/tee.sh                            \
+  tests/misc/tee-dash.sh                       \
+  tests/misc/test-diag.pl                      \
+  tests/misc/timeout.sh                                \
+  tests/misc/timeout-group.sh                  \
+  tests/misc/timeout-parameters.sh             \
+  tests/misc/tr.pl                             \
+  tests/misc/tr-case-class.sh                  \
+  tests/misc/truncate-dangling-symlink.sh      \
+  tests/misc/truncate-dir-fail.sh              \
+  tests/misc/truncate-fail-diag.sh             \
+  tests/misc/truncate-fifo.sh                  \
+  tests/misc/truncate-no-create-missing.sh     \
+  tests/misc/truncate-overflow.sh              \
+  tests/misc/truncate-parameters.sh            \
+  tests/misc/truncate-relative.sh              \
+  tests/misc/tsort.pl                          \
+  tests/misc/unexpand.pl                       \
+  tests/misc/uniq.pl                           \
+  tests/misc/uniq-perf.sh                      \
+  tests/misc/xattr.sh                          \
+  tests/tail-2/wait.sh                         \
+  tests/chmod/c-option.sh                      \
+  tests/chmod/equal-x.sh                       \
+  tests/chmod/equals.sh                                \
+  tests/chmod/inaccessible.sh                  \
+  tests/chmod/octal.sh                         \
+  tests/chmod/setgid.sh                                \
+  tests/chmod/silent.sh                                \
+  tests/chmod/thru-dangling.sh                 \
+  tests/chmod/umask-x.sh                       \
+  tests/chmod/usage.sh                         \
+  tests/chown/deref.sh                         \
+  tests/chown/preserve-root.sh                 \
+  tests/chown/separator.sh                     \
+  tests/cp/abuse.sh                            \
+  tests/cp/acl.sh                              \
+  tests/cp/attr-existing.sh                    \
+  tests/cp/backup-1.sh                         \
+  tests/cp/backup-dir.sh                       \
+  tests/cp/backup-is-src.sh                    \
+  tests/cp/cp-HL.sh                            \
+  tests/cp/cp-deref.sh                         \
+  tests/cp/cp-i.sh                             \
+  tests/cp/cp-mv-backup.sh                     \
+  tests/cp/cp-parents.sh                       \
+  tests/cp/deref-slink.sh                      \
+  tests/cp/dir-rm-dest.sh                      \
+  tests/cp/dir-slash.sh                                \
+  tests/cp/dir-vs-file.sh                      \
+  tests/cp/existing-perm-dir.sh                        \
+  tests/cp/existing-perm-race.sh               \
+  tests/cp/fail-perm.sh                                \
+  tests/cp/fiemap-empty.sh                     \
+  tests/cp/fiemap-perf.sh                      \
+  tests/cp/fiemap-2.sh                         \
+  tests/cp/file-perm-race.sh                   \
+  tests/cp/into-self.sh                                \
+  tests/cp/link.sh                             \
+  tests/cp/link-no-deref.sh                    \
+  tests/cp/link-preserve.sh                    \
+  tests/cp/link-symlink.sh                     \
+  tests/cp/nfs-removal-race.sh                 \
+  tests/cp/no-deref-link1.sh                   \
+  tests/cp/no-deref-link2.sh                   \
+  tests/cp/no-deref-link3.sh                   \
+  tests/cp/parent-perm.sh                      \
+  tests/cp/parent-perm-race.sh                 \
+  tests/cp/perm.sh                             \
+  tests/cp/preserve-2.sh                       \
+  tests/cp/preserve-link.sh                    \
+  tests/cp/preserve-slink-time.sh              \
+  tests/cp/proc-short-read.sh                  \
+  tests/cp/proc-zero-len.sh                    \
+  tests/cp/r-vs-symlink.sh                     \
+  tests/cp/reflink-auto.sh                     \
+  tests/cp/reflink-perm.sh                     \
+  tests/cp/same-file.sh                                \
+  tests/cp/slink-2-slink.sh                    \
+  tests/cp/sparse.sh                           \
+  tests/cp/sparse-to-pipe.sh                   \
+  tests/cp/special-f.sh                                \
+  tests/cp/src-base-dot.sh                     \
+  tests/cp/symlink-slash.sh                    \
+  tests/cp/thru-dangling.sh                    \
+  tests/df/header.sh                           \
+  tests/df/df-P.sh                             \
+  tests/df/unreadable.sh                       \
+  tests/df/total-unprocessed.sh                        \
+  tests/df/no-mtab-status.sh                   \
+  tests/dd/direct.sh                           \
+  tests/dd/misc.sh                             \
+  tests/dd/nocache.sh                          \
+  tests/dd/not-rewound.sh                      \
+  tests/dd/reblock.sh                          \
+  tests/dd/skip-seek.pl                                \
+  tests/dd/skip-seek2.sh                       \
+  tests/dd/bytes.sh                            \
+  tests/dd/skip-seek-past-file.sh              \
+  tests/dd/sparse.sh                           \
+  tests/dd/stderr.sh                           \
+  tests/dd/unblock.pl                          \
+  tests/dd/unblock-sync.sh                     \
+  tests/df/total-verify.sh                     \
+  tests/du/2g.sh                               \
+  tests/du/8gb.sh                              \
+  tests/du/basic.sh                            \
+  tests/du/bigtime.sh                          \
+  tests/du/deref.sh                            \
+  tests/du/deref-args.sh                       \
+  tests/du/exclude.sh                          \
+  tests/du/fd-leak.sh                          \
+  tests/du/files0-from.pl                      \
+  tests/du/files0-from-dir.sh                  \
+  tests/du/hard-link.sh                                \
+  tests/du/inacc-dest.sh                       \
+  tests/du/inacc-dir.sh                                \
+  tests/du/inaccessible-cwd.sh                 \
+  tests/du/long-from-unreadable.sh             \
+  tests/du/long-sloop.sh                       \
+  tests/du/max-depth.sh                                \
+  tests/du/move-dir-while-traversing.sh                \
+  tests/du/no-deref.sh                         \
+  tests/du/no-x.sh                             \
+  tests/du/one-file-system.sh                  \
+  tests/du/restore-wd.sh                       \
+  tests/du/slash.sh                            \
+  tests/du/slink.sh                            \
+  tests/du/trailing-slash.sh                   \
+  tests/du/two-args.sh                         \
+  tests/id/gnu-zero-uids.sh                    \
+  tests/id/no-context.sh                       \
+  tests/install/basic-1.sh                     \
+  tests/install/create-leading.sh              \
+  tests/install/d-slashdot.sh                  \
+  tests/install/install-C.sh                   \
+  tests/install/install-C-selinux.sh           \
+  tests/install/strip-program.sh               \
+  tests/install/trap.sh                                \
+  tests/ln/backup-1.sh                         \
+  tests/ln/hard-backup.sh                      \
+  tests/ln/hard-to-sym.sh                      \
+  tests/ln/misc.sh                             \
+  tests/ln/relative.sh                         \
+  tests/ln/sf-1.sh                             \
+  tests/ln/slash-decorated-nonexistent-dest.sh \
+  tests/ln/target-1.sh                         \
+  tests/ls/abmon-align.sh                      \
+  tests/ls/block-size.sh                       \
+  tests/ls/color-clear-to-eol.sh               \
+  tests/ls/color-dtype-dir.sh                  \
+  tests/ls/color-norm.sh                       \
+  tests/ls/dangle.sh                           \
+  tests/ls/dired.sh                            \
+  tests/ls/file-type.sh                                \
+  tests/ls/follow-slink.sh                     \
+  tests/ls/getxattr-speedup.sh                 \
+  tests/ls/infloop.sh                          \
+  tests/ls/inode.sh                            \
+  tests/ls/m-option.sh                         \
+  tests/ls/multihardlink.sh                    \
+  tests/ls/no-arg.sh                           \
+  tests/ls/no-cap.sh                           \
+  tests/ls/proc-selinux-segfault.sh            \
+  tests/ls/readdir-mountpoint-inode.sh         \
+  tests/ls/recursive.sh                                \
+  tests/ls/root-rel-symlink-color.sh           \
+  tests/ls/rt-1.sh                             \
+  tests/ls/slink-acl.sh                                \
+  tests/ls/stat-dtype.sh                       \
+  tests/ls/stat-failed.sh                      \
+  tests/ls/stat-free-color.sh                  \
+  tests/ls/stat-free-symlinks.sh               \
+  tests/ls/stat-vs-dirent.sh                   \
+  tests/ls/symlink-slash.sh                    \
+  tests/ls/time-style-diag.sh                  \
+  tests/ls/x-option.sh                         \
+  tests/mkdir/p-1.sh                           \
+  tests/mkdir/p-2.sh                           \
+  tests/mkdir/p-3.sh                           \
+  tests/mkdir/p-slashdot.sh                    \
+  tests/mkdir/p-thru-slink.sh                  \
+  tests/mkdir/p-v.sh                           \
+  tests/mkdir/parents.sh                       \
+  tests/mkdir/perm.sh                          \
+  tests/mkdir/selinux.sh                       \
+  tests/mkdir/special-1.sh                     \
+  tests/mkdir/t-slash.sh                       \
+  tests/mv/acl.sh                              \
+  tests/mv/atomic.sh                           \
+  tests/mv/atomic2.sh                          \
+  tests/mv/backup-dir.sh                       \
+  tests/mv/backup-is-src.sh                    \
+  tests/mv/childproof.sh                       \
+  tests/mv/diag.sh                             \
+  tests/mv/dir-file.sh                         \
+  tests/mv/dir2dir.sh                          \
+  tests/mv/dup-source.sh                       \
+  tests/mv/force.sh                            \
+  tests/mv/hard-2.sh                           \
+  tests/mv/hard-3.sh                           \
+  tests/mv/hard-4.sh                           \
+  tests/mv/hard-link-1.sh                      \
+  tests/mv/hard-verbose.sh                     \
+  tests/mv/i-1.pl                              \
+  tests/mv/i-2.sh                              \
+  tests/mv/i-3.sh                              \
+  tests/mv/i-4.sh                              \
+  tests/mv/i-5.sh                              \
+  tests/mv/i-link-no.sh                                \
+  tests/mv/into-self.sh                                \
+  tests/mv/into-self-2.sh                      \
+  tests/mv/into-self-3.sh                      \
+  tests/mv/into-self-4.sh                      \
+  tests/mv/leak-fd.sh                          \
+  tests/mv/mv-n.sh                             \
+  tests/mv/mv-special-1.sh                     \
+  tests/mv/no-target-dir.sh                    \
+  tests/mv/part-fail.sh                                \
+  tests/mv/part-hardlink.sh                    \
+  tests/mv/part-rename.sh                      \
+  tests/mv/part-symlink.sh                     \
+  tests/mv/partition-perm.sh                   \
+  tests/mv/perm-1.sh                           \
+  tests/mv/symlink-onto-hardlink.sh            \
+  tests/mv/symlink-onto-hardlink-to-self.sh    \
+  tests/mv/to-symlink.sh                       \
+  tests/mv/trailing-slash.sh                   \
+  tests/mv/update.sh                           \
+  tests/readlink/can-e.sh                      \
+  tests/readlink/can-f.sh                      \
+  tests/readlink/can-m.sh                      \
+  tests/readlink/rl-1.sh                       \
+  tests/rmdir/fail-perm.sh                     \
+  tests/rmdir/ignore.sh                                \
+  tests/rmdir/t-slash.sh                       \
+  tests/tail-2/assert-2.sh                     \
+  tests/tail-2/big-4gb.sh                      \
+  tests/tail-2/flush-initial.sh                        \
+  tests/tail-2/follow-name.sh                  \
+  tests/tail-2/follow-stdin.sh                 \
+  tests/tail-2/pipe-f.sh                       \
+  tests/tail-2/pipe-f2.sh                      \
+  tests/tail-2/proc-ksyms.sh                   \
+  tests/tail-2/start-middle.sh                 \
+  tests/touch/60-seconds.sh                    \
+  tests/touch/dangling-symlink.sh              \
+  tests/touch/dir-1.sh                         \
+  tests/touch/fail-diag.sh                     \
+  tests/touch/fifo.sh                          \
+  tests/touch/no-create-missing.sh             \
+  tests/touch/no-dereference.sh                        \
+  tests/touch/no-rights.sh                     \
+  tests/touch/not-owner.sh                     \
+  tests/touch/obsolescent.sh                   \
+  tests/touch/read-only.sh                     \
+  tests/touch/relative.sh                      \
+  tests/touch/trailing-slash.sh                        \
+  $(all_root_tests)
+
+pr_data =                                      \
+  tests/pr/0F                                  \
+  tests/pr/0FF                                 \
+  tests/pr/0FFnt                               \
+  tests/pr/0FFt                                        \
+  tests/pr/0FnFnt                              \
+  tests/pr/0FnFt                               \
+  tests/pr/0Fnt                                        \
+  tests/pr/0Ft                                 \
+  tests/pr/2-S_f-t_notab                       \
+  tests/pr/2-Sf-t_notab                                \
+  tests/pr/2f-t_notab                          \
+  tests/pr/2s_f-t_notab                                \
+  tests/pr/2s_w60f-t_nota                      \
+  tests/pr/2sf-t_notab                         \
+  tests/pr/2sw60f-t_notab                      \
+  tests/pr/2w60f-t_notab                       \
+  tests/pr/3-0F                                        \
+  tests/pr/3-5l24f-t                           \
+  tests/pr/3-FF                                        \
+  tests/pr/3a2l17-FF                           \
+  tests/pr/3a3f-0F                             \
+  tests/pr/3a3l15-t                            \
+  tests/pr/3a3l15f-t                           \
+  tests/pr/3b2l17-FF                           \
+  tests/pr/3b3f-0F                             \
+  tests/pr/3b3f-0FF                            \
+  tests/pr/3b3f-FF                             \
+  tests/pr/3b3l15-t                            \
+  tests/pr/3b3l15f-t                           \
+  tests/pr/3f-0F                               \
+  tests/pr/3f-FF                               \
+  tests/pr/3l24-t                              \
+  tests/pr/3l24f-t                             \
+  tests/pr/3ml24-FF                            \
+  tests/pr/3ml24-t                             \
+  tests/pr/3ml24-t-FF                          \
+  tests/pr/3ml24f-t                            \
+  tests/pr/4-7l24-FF                           \
+  tests/pr/4l24-FF                             \
+  tests/pr/FF                                  \
+  tests/pr/FFn                                 \
+  tests/pr/FFtn                                        \
+  tests/pr/FnFn                                        \
+  tests/pr/Ja3l24f-lm                          \
+  tests/pr/Jb3l24f-lm                          \
+  tests/pr/Jml24f-lm-lo                                \
+  tests/pr/W-72l24f-ll                         \
+  tests/pr/W20l24f-ll                          \
+  tests/pr/W26l24f-ll                          \
+  tests/pr/W27l24f-ll                          \
+  tests/pr/W28l24f-ll                          \
+  tests/pr/W35Ja3l24f-lm                       \
+  tests/pr/W35Jb3l24f-lm                       \
+  tests/pr/W35Jml24f-lmlo                      \
+  tests/pr/W35a3l24f-lm                                \
+  tests/pr/W35b3l24f-lm                                \
+  tests/pr/W35ml24f-lm-lo                      \
+  tests/pr/W72Jl24f-ll                         \
+  tests/pr/a2l15-FF                            \
+  tests/pr/a2l17-FF                            \
+  tests/pr/a3-0F                               \
+  tests/pr/a3f-0F                              \
+  tests/pr/a3f-0FF                             \
+  tests/pr/a3f-FF                              \
+  tests/pr/a3l15-t                             \
+  tests/pr/a3l15f-t                            \
+  tests/pr/a3l24f-lm                           \
+  tests/pr/b2l15-FF                            \
+  tests/pr/b2l17-FF                            \
+  tests/pr/b3-0F                               \
+  tests/pr/b3f-0F                              \
+  tests/pr/b3f-0FF                             \
+  tests/pr/b3f-FF                              \
+  tests/pr/b3l15-t                             \
+  tests/pr/b3l15f-t                            \
+  tests/pr/b3l24f-lm                           \
+  tests/pr/l24-FF                              \
+  tests/pr/l24-t                               \
+  tests/pr/l24f-t                              \
+  tests/pr/loli                                        \
+  tests/pr/ml20-FF-t                           \
+  tests/pr/ml24-FF                             \
+  tests/pr/ml24-t                              \
+  tests/pr/ml24-t-FF                           \
+  tests/pr/ml24f-0F                            \
+  tests/pr/ml24f-lm-lo                         \
+  tests/pr/ml24f-t                             \
+  tests/pr/ml24f-t-0F                          \
+  tests/pr/n+2-5l24f-0FF                       \
+  tests/pr/n+2l24f-0FF                         \
+  tests/pr/n+2l24f-bl                          \
+  tests/pr/n+3-7l24-FF                         \
+  tests/pr/n+3l24f-0FF                         \
+  tests/pr/n+3l24f-bl                          \
+  tests/pr/n+3ml20f-bl-FF                      \
+  tests/pr/n+3ml24f-bl-tn                      \
+  tests/pr/n+3ml24f-tn-bl                      \
+  tests/pr/n+4-8a2l17-FF                       \
+  tests/pr/n+4b2l17f-0FF                       \
+  tests/pr/n+5-8b3l17f-FF                      \
+  tests/pr/n+5a3l13f-0FF                       \
+  tests/pr/n+6a2l17-FF                         \
+  tests/pr/n+6b3l13f-FF                                \
+  tests/pr/n+7l24-FF                           \
+  tests/pr/n+8l20-FF                           \
+  tests/pr/nJml24f-lmlmlo                      \
+  tests/pr/nJml24f-lmlolm                      \
+  tests/pr/nN1+3l24f-bl                                \
+  tests/pr/nN15l24f-bl                         \
+  tests/pr/nSml20-bl-FF                                \
+  tests/pr/nSml20-t-t-FF                       \
+  tests/pr/nSml20-t-tFFFF                      \
+  tests/pr/nSml24-bl-FF                                \
+  tests/pr/nSml24-t-t-FF                       \
+  tests/pr/nSml24-t-tFFFF                      \
+  tests/pr/nl24f-bl                            \
+  tests/pr/o3Jml24f-lm-lo                      \
+  tests/pr/o3a3Sl24f-tn                                \
+  tests/pr/o3a3Snl24f-tn                       \
+  tests/pr/o3a3l24f-tn                         \
+  tests/pr/o3b3Sl24f-tn                                \
+  tests/pr/o3b3Snl24f-tn                       \
+  tests/pr/o3b3l24f-tn                         \
+  tests/pr/o3mSl24f-bl-tn                      \
+  tests/pr/o3mSnl24fbltn                       \
+  tests/pr/o3ml24f-bl-tn                       \
+  tests/pr/t-0FF                               \
+  tests/pr/t-FF                                        \
+  tests/pr/t-bl                                        \
+  tests/pr/t-t                                 \
+  tests/pr/tFFn                                        \
+  tests/pr/tFFt                                        \
+  tests/pr/tFFt-bl                             \
+  tests/pr/tFFt-ll                             \
+  tests/pr/tFFt-lm                             \
+  tests/pr/tFnFt                               \
+  tests/pr/t_notab                             \
+  tests/pr/t_tab                               \
+  tests/pr/t_tab_                              \
+  tests/pr/ta3-0FF                             \
+  tests/pr/ta3-FF                              \
+  tests/pr/tb3-0FF                             \
+  tests/pr/tb3-FF                              \
+  tests/pr/tn                                  \
+  tests/pr/tn2e5o3-t_tab                       \
+  tests/pr/tn2e8-t_tab                         \
+  tests/pr/tn2e8o3-t_tab                       \
+  tests/pr/tn_2e8-t_tab                                \
+  tests/pr/tn_2e8S-t_tab                       \
+  tests/pr/tne8-t_tab                          \
+  tests/pr/tne8o3-t_tab                                \
+  tests/pr/tt-0FF                              \
+  tests/pr/tt-FF                               \
+  tests/pr/tt-bl                               \
+  tests/pr/tt-t                                        \
+  tests/pr/tta3-0FF                            \
+  tests/pr/tta3-FF                             \
+  tests/pr/ttb3-0FF                            \
+  tests/pr/ttb3-FF                             \
+  tests/pr/w72l24f-ll
index 4285d0759609942ba9dbc1d7957c56cdd8ed0e0f..086e1e6b8332a5a8f7674fbba249feacd158a27f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 for mon in $(seq -w 12); do
index 99750201a129b93f5b66e37a6fafb270cd06a181..ff3378e386717017f0797cf06bb32baeac05d8c3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 TZ=UTC0
index d5d5ee04759dacdab79601884de3be919d86eeab..82bc6adac5ab11c9720bef129ecd0efe41410cee 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 require_root_
 
index 5dc6d16be1dabc45ae23a1ca9b4c7b2258c47833..8acbfa9f0f2ae99b4ff289aa0ae80c8e34e25610 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 long_name=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.foo
index 69dffd79c2b4a94aa879e7cb710a1aacda8ce20d..60af3d5188531b2175669bf0f03fdfd9ba2fefa0 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # Don't let a different umask perturb the results.
index 28366fb5c8912e3a9a8009032cccbeea62c2a25c..2b6ba0e6a46cf307ee66fb1523656b4e45ddc3df 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # Don't let a different umask perturb the results.
index dbc24476a4ff615c5af936d81b4b45a5e8a56373..46cac9b96693b95683ff8456cd784b53dd702914 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 ln -s no-such-file dangle || framework_failure_
index 6b55f435f856aa8ce3c14a63c4d7bf3ceaba7dc1..c2db8af3e5c6ef026e50ba54c9b039cfd081a826 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir dir || framework_failure_
index 3bb7937a6d318beb0b27bda95a9a80ad40541ee0..20afa9b29073e182dc1459068ab7effec1a80899 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir sub
index d3c0d6ef5f73075e9447dd3919568bab5c1e7c24..328318f81025d08a4ad12e4437d61fc085952012 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # Isolate output files from directory being listed
index 967f7c95f732a2910e802782beb1db5249f5a7d9..9fe98179b6e0f3d9bebca66990a2281a0b98e93d 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # Replace each getxattr and lgetxattr call with a call to these stubs.
index 9652112c8624b7768ea18fb296b0bc940d8b4502..ba311f1efc0cbb388e3feede15aeea94567348a6 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir loop || framework_failure_
index 8bf5ba1534f9b39aea3740bbf041d071fa07085e..66ebda59d86ac4154af167e8dacb2ca23d32de3a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 touch f || framework_failure_
index cc72e73cc6ee9f7a938a97f8f65d316e9ea65fe8..c1c78e2c994eb3d76f88aac00194838a15c9b8f6 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 seq 2000 > b || framework_failure_
index 68a5872559ff9e6ffccc25412033cc512985ac3d..c621e9a41f75c342859c4962dc16849b7df63d12 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 working_umask_or_skip_
 
index 5b45b091b68eda61c9e448af2d1cae4bbaadca52..372f3811ffc63c6ecbc3bd3a4f47ba28eff6fe9e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 require_root_
index 8e7d1d616aa25436011d9e3f9130a383fc3d068a..4c45de974d09fa787e48f24f7ee53d1deec3adc8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir -p dir/subdir || framework_failure_
index 5e1e7887e23762ab2de0fed080212cdce43dd400..11d93365dee6fb5e965b4ed793f25ea144f18208 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 require_strace_ capget
 
index da17ec4f1ef9e05554679f81b3e6d27732f3a4ae..824fafc1111e92ee2053decfb0d5a6864bb8e925 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 f=/proc/sys
index d46208ba6a11e52b73597626a7c565eb327e8aa9..bfe38984151c0cfa665e1f455524e3eeaef189d8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # We use --local here so as to not activate
index 79fdc7f300f2306c54b2bdff2b1253a2dd816645..e0fe3a3d9cbfd57c9068d240539ace0363c13563 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir x y a b c a/1 a/2 a/3 || framework_failure_
index d7954323ef6d64f3b095d4d5928d4414bdaea53f..f4a50ad1b94be1bca409fe9c29f18da97b4caec0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 symlink_to_rel=
index f7d78df65beb6b6518d2a965caf802f457f92e13..f66350085e51c413337dddb34be4fe19cd2b1864 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls touch
 
 date=1998-01-15
index ae9af5039254db40c88224001ca262a7647502aa..00ebf754c94b8f2031505028aee569fc19cad61b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 require_setfacl_
index b84d5d51ab380a942bc855fd7e8078e5d30b9711..e22f5a4baad58277dbfb116bd99056f43debdfaa 100755 (executable)
@@ -21,7 +21,7 @@
 # The trick is to create an un-stat'able symlink and to see if ls
 # can report its type nonetheless, using dirent.d_type.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # Skip this test unless "." is on a file system with useful d_type info.
index 464406bd546793a8c754785dd6441840c20c66ee..c93295a568a309dc6e6b2589f79a608baa61cece 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 skip_if_root_
 
index daff2eb5c61c2653eaf635f0e10636dd8dc6f70f..4758f04249791d2551d48b0178da5fb57e43726b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 require_strace_ stat
 require_dirent_d_type_
index 8e04e2e8c3687756a3cea62b9402ec9d1e90301a..dbeee30f2c70b84200ed224a313e6c3f4a84b377 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 require_strace_ stat
 
index 1dd6e6621c442e853425052bc82aac8f458b17d0..349ae8c264d45fe573dd0f24f45a739f05c87ce0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 
index 28c7d32b2730a2456c76c9b5fbf37f17954a1a4b..048a7b8f1cbe5566580b11385322a469079f9c2b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir dir || framework_failure_
index ae41c93615a5305c4dde114545889bd451985907..9fd6a84bb7253a838b4dc2618edb7c2dcced24a3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 ls -l --time-style=XX > out 2> err
index 38faa72b88572dbc4994f517569ecd88e8d2c69e..06f1b5838ab4ecc8811376f40d3fc4fc4a082ebd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 mkdir subdir || framework_failure_
index e1d73089714bf8cdd31474be5b476c1aed30e46f..787ac1a9cfd862772b7c26ef7a7ba5dc56c27509 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ arch
 
 require_built_ arch
index 2b6ba2a649c661e6c75a38ef175e0e42feabacaf..c8fbcd21e4e847e863262200b4d5a409f5005b89 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cat
 
 # Use a fifo rather than a pipe in the tests below
index 082c727e0212081552a1ac66aeaa7a7d4e8340cd..0db0ebba464e21489bbc3948ac45356a47649341 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cat
 
 
index d9f6c21b7b4ddcc1469b7bc87d36808035998e8a..3e91afbb27aaefe98515bdfb32cae264dfe46b8f 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chcon
 
 
index 6b4458034c854f695484b0da299d9e075e04d887..1a675b1c9a36589fa3ba5913f1cdab4dd747aae2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chcon
 require_root_
 require_selinux_
index bae9d4255a0cac6ee8c917b9d1493730f7b6629b..24842a8852b82f89e9753a80e54635cf125a1155 100755 (executable)
@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chroot
 
 require_root_
index 6a5ecf32f5da7424c6823e0aeb8aae809a27bcbf..4294cb986076775518e1b8d7e0f9c4b14b15cb5a 100755 (executable)
@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chroot
 
 
index 8584dfea4c286707455cae69f61e059bb44704a9..ed6a38a4227bf80e88c9ee673065872d13b10404 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 p=$abs_top_builddir
index 217097e539af6984bc9bf3fca51611e5d4781168..618575c54ef01f648d45a8b4de1e2a9ba8c7058d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ csplit
 
 # Before coreutils-8.7, this would overrun the 6-byte filename_space buffer.
index f12f9fe0d8cc37a52b36ebcffd6a52f5ebd7f46d..cc86ce9f1863eb2b398c1fc4641258f829b37e3c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ csplit
 
 require_ulimit_
index aea2e918f2a4649b0faa905d37dab1480f30f217..28f07c9053996eeae7c130bbde2953e767a9f280 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ csplit
 
 
index a46b47903be744f09698958b4363d0ac9d0abf2e..8a8c8cc661c277cadfece9b8768ac0cd7e69f754 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ date
 
 
index 0190bf413220148f7130a6fab3f97378967c352c..844b4a88e59b8520945bb60750d598acb9cfec10 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ env printenv
 
 # POSIX is clear that environ may, but need not be, sorted.
index 6f8c064ce1f24a7e4acf234830be64b8667604d4..2a4ac3e796875afeb590e83d8cf3838568bdb1ca 100755 (executable)
@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ env
 
 
index d192bbd7ea3c9d912fb7177ee9af797237f11da3..6af1859581f8108468ad8e6a57204e9c53abb742 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ false
 
 false --version > /dev/null && fail=1
index 24e7b9a79334d7bbe2252728902f80f53b156e77..efaef12156af6c8e94a7ca56d5466b8676d9e6cb 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ groups
 require_built_ groups
 
index 9a8bf39271ac7eb0af9a17ea966f0ed3c7ab78bc..c06c0b161a6759e063cdd81c7c057e776e875734 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ groups
 require_built_ groups
 
index 32f86d2f36e61b08224a2ebebe475f8ea7a643dc..a79ff1b9367e5295f9d8ec8968c7ef527ac687a7 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ head
 
 echo abc > in || framework_failure_
index fa3284e90fcff5cc765f3a954ac24a8731ac38de..e4043fc9dae695f87769fa94ab1e9ac4c98b2dd4 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ head
 
 (echo a; echo b) > in || framework_failure_
index f2ac0e9bbb80ab5f35008ffb6c96b76b04685314..ebbaff5f362667722d0bfef76e8d2578808d8e18 100755 (executable)
@@ -23,7 +23,7 @@
 test "x$SHELL" = x && SHELL=/bin/sh
 export SHELL
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 
 expected_failure_status_chroot=125
 expected_failure_status_env=125
index 73645a0ec7555ee8ba8a2b375b37255d8bc70ed7..225cb7ad8d1612db1fd4b8eb7213fb117c707c2c 100755 (executable)
@@ -15,7 +15,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ id
 # Require selinux - when selinux is disabled, id never prints scontext.
 require_selinux_
index 815dd5529eeb645dbfa1dc14470221ebc9ba225f..c642929d8966d0bd84defaf7949d86c3dd006112 100755 (executable)
@@ -15,7 +15,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ id
 
 id -G $(id -nu) || fail=1
index 12fab381b042c095fae6e27087139b7aa0d1f48f..30aaffc8aa5b779be61b1fa17bc88a09e634e2de 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ id
 require_root_
 
index 7d1f205fc634547b321504f0dee57d0204c61636..2eaa37dc27c27376b5d86251632d197ec94fe01b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ls
 
 # Avoid any possible glitches due to daylight-saving changes near the
index ce4117679779bd67c03f52060c2eb6e0a8d43a45..1337c3db4ad53c0ae0c2dd44d04cab15d0c1065f 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ md5sum
 
 ## BSD alternate format tests ##
index 0bf5fa9ca119ba5c6f8a61f654eb62e65922bfab..ee9f575d3dc1403b55b3ad0d3464ce1528cfd974 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ md5sum
 
 (mkdir tmp && cd tmp && seq 500 | xargs touch)
index b9e33ad2d45a9f6e67e3a576c3cbf37b2da73675..1378b57cd50b19ffaab987953df745e1e4ab4dcf 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mknod
 
 # Ensure fifos are supported
index 599c981f2f7320f7ae2578738a49c9d34f67642f..252c79a64b8d078361cbb8d1f1f5338263422946 100755 (executable)
@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ nice
 
 
index ac8ea04ea4e64ac5c73a1702ac342fbebb446b41..a73e371c2fdc8375cab625dc5aaa95599ac6226a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ nice
 
 tests='
index b5a4ac635b0b13ecf8aef5005dfd7cc640e059b6..1239643d0c8262531dd97715f4910a94840ace44 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ nl
 
 
index 76f676d81ed704a7a7c6965f0aff1ed3773fbad8..2f3fb4e464b31007be4e9a82beae3fa6a011484c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ nohup
 
 
index cf0846cc91f597e829fcb8c580a979ae12faa2f4..86b7aa19423a1e5f6524a89e83597620612cd70e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ nproc
 
 all=$(nproc --all)
index d930fb892494df561c60d2164eaea6a8c1b50c37..4737b7c3a441daf3aa9bd2b508d90fa927a5f96f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ nproc
 
 for mode in --all ''; do
index 00d956a5f3967a004eba754fee04ee71d92a1c87..81d8b667845d693f7ddd912334c20e7c6f5b2c16 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ od
 
 echo abcdefg > in || framework_failure_
index a23a8f3585595b8355d9807f162d1203f066afc5..3b1ae91b64c40baa904f936a666893e522925728 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ od
 
 export LC_ALL=C
index 049273cdf750fdbf40ab2abf64750a6286c4ff83..f7cbc97f102a67751ba71b2cad7df50338d6fe72 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ od
 
 # Choose 48 bytes for the input, as that is lcm for 1, 2, 4, 8, 12, 16;
index 98a9fe9792602928bb40a972f77863d17248afef..70379426d63dbee87f57935be98ba5c476128431 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ od
 
 od -t x8 /dev/null >/dev/null ||
index 373b545de153dfa07dd6247d6cf465367e147e4d..ccc97edbeb7468fe6ddbb27b5be0cbb14c8e1e00 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ pathchk
 skip_if_root_
 
index bbce8ef0e07493941b0f5002990b0b9477e86832..95085f10f7c94fd6c78197e0f52a22e6f1084abd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ printenv
 
 # Without arguments, printenv behaves like env.  Some shells provide
index 23a218fafa8bdc7a725141998cad5ad0c0e71351..82b48975ee1f4bd46893a5b3f6c600b73b884037 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ printf
 
 env printf '\x7e3\n' > out || fail=1
index b6f6275983e2899b10152611ca098b661a54e5e3..ad01a618a21d46b934523fd73e4fccac83e9b77c 100755 (executable)
@@ -18,7 +18,7 @@
 
 prog=printf
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ printf
 
 require_ulimit_
index 987e452ae09a42c9b3d695d4cc82ece394e63c3c..5a272b6583312dfa7a39acc959a29ac4dc494abd 100755 (executable)
@@ -18,7 +18,7 @@
 
 prog='env printf'
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ printf
 
 getlimits_
index e7eaf0b3d64992ca5fb9b0325980191cfc64eb12..345065772b19bdab1160c3672a3f82d30d861cb5 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ ptx
 
 # Using a long file name makes an abort more likely.
index 051509a7dfe1fcfca9a09c6bcdc1bf574bd3de3f..456c64b5db8917d327ae57bc272aa22c41de9012 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ pwd
 
 require_readable_root_
@@ -28,7 +28,7 @@ export ARGV_0
 
 # Don't use CuTmpdir here, since File::Temp's use of rmtree can't
 # remove the deep tree we create.
-$PERL -Tw -I"$abs_srcdir" -MCuSkip -- - <<\EOF
+$PERL -Tw -I"$abs_srcdir/tests" -MCuSkip -- - <<\EOF
 
 # Show that pwd works even when the length of the resulting
 # directory name is longer than PATH_MAX.
index a7a4737e5730a775d2be2b5e0b34514d6d9471a0..bd7c6a693357dcf306b617316288f01e6273dd90 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ pwd
 
 mkdir -p a/b || framework_failure_
index 65fab782775e89834087b36e2429649fe4a245d6..b222a6df48715fad0f5ba5e7b98b3844779358ee 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ readlink
 cwd=$("$abs_top_builddir/src/pwd")
 
index f69bad6ad7b9b06572cad37fc1a02d18a134faae..6a12e2fd8afecf068fc238b64cdb966bfc7f6d12 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ readlink
 
 stat_single=$(stat -c %d:%i /) || framework_failure_
index 9484ac4c867d8a4f8886687c70032fb86cb196d5..43445f7f5fa190c9bf6a3958cfc71f016f107b60 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ realpath
 
 stat_single=$(stat -c %d:%i /) || framework_failure_
index 351896ef83592d2cbdb5491d87a95d6d7d4089c6..391974a266e7fe76c05e4b10d760f10a1eceb0c4 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ runcon
 
 diag='runcon: runcon may be used only on a SELinux kernel'
index 12ae15f4ed454d0b58b8abd68086aee2c1d31cc6..c2edbea9ea401cd8ddca02dcea18c00c578a9531 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ chcon cp ls mv stat
 
 require_root_
index 5a511d709de92467783e8a0ff13bd8267d100540..976aaffbb3c016959af5ce52a148e3de7bece2a2 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ seq
 getlimits_
 
index 22d14c30d2a24d9abb3c6f40ad3647bc89c01a3e..32d917864aa2417cdcf85c9ed54699bf9d1a2d34 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ shred
 
 
index 4ff80d749121b308519432805653b18618749910..50ae96d94d0dd1147a1a3b9db9a9e85e77886f29 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ shred
 
 
index c060a21cbbe175e51953bdb035dc62448c77c1ec..e6f0752e240a77f32fc903a29950967148d60ab2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ shred
 skip_if_root_
 
index 243c0498d30ce4ded47efa175652cde9425ed3fa..c98e25aa99e08c930a1b420196332bd76c20e038 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ shuf
 getlimits_
 
index e64d3859915b5152cbc3cde03ddc4ebe704516b7..9a8c4644a008de31a5098e8738e9ceb85c2be63a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 echo nan > F || fail=1
index 9eb9a63f956a52044441b67b4f0b2e0c14cf5e25..bdd1cc575a244efebd1e8b79c28e160aec7296f0 100755 (executable)
@@ -18,7 +18,7 @@
 
 # Written by Glen Lenker.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 very_expensive_
index e1b8ff0f56a19631a8515cb087f7092e67802a68..a104689cdd8b2dc1a39eed0a8d15fb63f832d8e5 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 very_expensive_
 
index 7ee0fd1f581b562bde8365856d470e5b58746911..c800fcb1440cd5aa3d12b9da5a75c78e8bc23403 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 expensive_
 
index 00dcf06aca496ada1dc8f29f191d804a751d33ad..3249982002bb10aa095afcb549e05a321f039031 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 seq -w 2000 > exp || framework_failure_
index 1491dbf657038d4548de45eaafcdc11a236f48c5..184c2f7fef7a487961fe1a9cdef11f731ea3e8eb 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 # Skip the test when running under valgrind.
index a284e84c36fbdf20489e16d525882750aa5aee6b..c8ceecbc6de76523a5c2b773a8818bde08f89856 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 number() { cat -n | sed 's/^ *//'; }
index 504a2d2bce871a91c48cc7cbc60f9d2eeb0c6fa9..4c195bea52445c4e1af67aaf3ad47ab4ffe5c97a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 cat <<\EOF > exp
index fced20495ded042e89ec6fcb8ba52ba16d8bb11a..af457ce2e4eeaedfcc6b019429935a52670fb2c8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 # Set limit variables.
index 5ad6d41aabc16ecb6fbe9c6bc200790e99f9467d..ce5f498bfc3ffc85c8cb88c525cd6267dbec658a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 skip_if_root_
 
index b585b9bf1be4b6e004a20e71a2185269ec26f5b2..67e0767487ab25fc9e5796e2225819f7e00eb558 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 # Return 0 if LDBL_MIN is smaller than DBL_MIN, else 1.
index 7ce109c1a4fca688709e5689aedec7bb105676d3..d3f8cf38856a603f53105cffa6ead8b00ff0699a 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 require_ulimit_
 
index fa1e695746365c99b034172b8d78c213b0459f0d..18e5c26370bc8f21d27c09f44a46a50d79d8ac6e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 locale --version >/dev/null 2>&1 ||
index 1782a9accff2ae5924c8ccc77e88ccb211a3b4ba..56de19a466842be9a693d508537afeb431583fd2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 seq 100 > in || framework_failure_
index 628326fd7e2d2845b573802b46faa52bdc42d86c..7ac43f8497534347a12b2f12b008186c133243e7 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 # This isn't terribly expensive, but it must not be run under heavy load.
index 05cc9ba1c2686a90800d31d6228d7d22084a3852..3ed0b6e7f6d9529c0f333028d50b7f7ef68c606a 100755 (executable)
@@ -18,7 +18,7 @@
 
 # written by Jim Meyering and Paul Eggert
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 very_expensive_
index 303b4291c267d78bb48e57ee69245e5815092587..d6285661dadd76775be6d0e7e000c045a9b23688 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 require_valgrind_
 
index b853cfe433af0a81f6d915cbf0dfd268f11541bf..5ef0d02bdb5d51307f261d3dd04e8d9bddc14996 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 grep '^#define HAVE_PTHREAD_T 1' "$CONFIG_HEADER" > /dev/null ||
index 275cbeb02add40315d231570b269c3cad064273d..a379348376109bd01b09f310a7a3e2d54eb3bcde 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 cat > in <<\EOF
index cb9acab71359ba1ae169763217bd520ecb65e938..84b1606ef6ec026dacb4f5fedd24b57c809d2926 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sort
 
 cat > in << _EOF_
index dd68e675e158a4c418e606eebee1acdc495ac547..524de88ed9fac672a97625c0822955a01d7c75b0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stat
 
 # Whether birthtime is supported or not, it better not change even when
index 8952a7abb00189d7bfaba0c0a003068ecc2a2d54..bc23555fc28c4b40dc03b2d2aadcb69a71d94766 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stat
 
 
index a6b5243629fd704136fcc4c60c2cc7fe70e3a06d..292e70eb10ad1f155404c3858376ae03dea180de 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stat
 
 printf -- '-\n' > exp || framework_failure_
index c93d8dcb51b03ab80b0d8324222ad9168c8cd1cc..d262ceb5fa100644bf2b1c357904c5737863d9ea 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stat
 
 df_mnt=$(df -P . | sed -n '2s/.* \([^ ]*$\)/\1/p')
index 1afb610f961f82d28f42da019c309139e78d16d6..0659b59d5cfd94dbd2ef9a993710cfaab9c80f3f 100755 (executable)
@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 print_ver_ stat
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 
 # Set this to avoid problems with weird time zones.
 TZ=UTC0
index ff122eb0f24f554aa1ee918303ab921aac8fc544..ee52bebc30efe00d71ab282184c75f7724d384df 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stat
 
 touch file || framework_failure_
index 3164df1b0f6a40552441b7387564eef7c5c81e32..ecc211e3d4396e1e12b9f7de0efdb9b4327568c1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stdbuf
 
 getlimits_
index 3b035ecefbe132513d27ef6af9a39b461c9a1d75..d07e3ad6474deb7e0b6d5cdb2c01c7a53aa18323 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stty
 require_controlling_input_terminal_
 trap '' TTOU # Ignore SIGTTOU
index e59da0435b11bfb5bb496dc2337fd67ae0e7d18b..539867323a3c567221c698c034af9bf9a4f09758 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stty
 
 expensive_
index d7151d5b7c6d301f7b7f9970ac1b952d3fc2537f..f5a42d5b7000e76c93c83ee83487347973b4d398 100755 (executable)
@@ -28,7 +28,7 @@ export COLUMNS
 LC_ALL=C
 export LC_ALL
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stty
 
 require_controlling_input_terminal_
index ae65656498ebafdc58336cf9a717ffeddc1d65f9..6d04c783bfe982a31c5c7cd9b0a363d7a8ba6c02 100755 (executable)
@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Make sure there's a tty on stdin.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ stty
 
 require_controlling_input_terminal_
index 9cdf07fc6290697bef94cbb65101df0de709e0bf..147749c951cd69f87e4704985186fda1691d9fff 100755 (executable)
@@ -22,7 +22,7 @@
 LC_ALL=C
 export LC_ALL
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ sum
 
 require_perl_
index f980f3b8c230d04ba971640b472155638972c5ad..32fa90d1a8ea7bad39de6b7c790479d27b933c10 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tac
 
 echo x | tac - - > out 2> err || fail=1
index d9cc550ac199ae82bb97dd5d3abd0e272118e538..10129bf4f9b608362fd7df6e41136f1ec4529f6f 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tac
 
 # See if the envvar is defined.
index 8ee0820bdfc1bb3b40759be86a041f43cf3be039..bcc1e1383c30dfbb0922e5cc24170f5e1d560d4f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tee
 
 tee - </dev/null || fail=1
index 4c17316d3b503d9e6bff859a1f1137eb101923f9..d461810f1c7efa933a6de597a33630cab0110388 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tee
 
 echo line >sample || framework_failure_
index 7a08bb3a5c4d707e4e4f202434892de249b5a575..4cefc33bf67d14a6eb6bfc76ea2b6023d4a6177d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ timeout
 
 # construct a program group hierarchy as follows:
index c7d6630921584704b0c6d9810b2c943ef0201292..e78c89ffce59ae3537b4292b4b6ff42154994509 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ timeout
 getlimits_
 
index 5f4e9ec2a454a0bbccc4214c265225ed3c044b75..57a4e15d0f8b0d65a96e76bf4300792a4300d522 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ timeout
 
 # no timeout
index 2f70f4eb1d10baa61efd968dc219929f7548901c..ef00a284a73a8a23d3a785f59783713230daeebd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tr
 
 # Ensure we support translation of case classes with extension
index d9175d4eba394510729428c16f3f92056cc55d8f..b077fd09a703781915e9123ff66e07827d84877d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 ln -s truncate-target t-symlink
index 54a31479faa463b3fc33b2badf341d5b3aa08003..aad0ff4ed24b924c6e3f83225d5475b53c8a7d26 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 # truncate on dir not allowed
index 994ee0b8b8358ae56643c17e512eb933c4276545..5957fbec9407b9dc40804a8ee1f8012b5532b1b0 100755 (executable)
@@ -20,7 +20,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 skip_if_root_
 
index 6588f0a270fa31e2dc5e0a4d54a2030367f8e043..bd701dbb68dba40ebd7f54f58af75f1dabf8f835 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 mkfifo_or_skip_ fifo
index 56b2ac187de608950690722c4d9a7bd11be71ba8..eccb35db1b321764f4d34a27354f04202806274e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 
index 9ec353fa8b4e76a72ffc296896e81235c48a6648..8d32d4940cd1d0a95ecbde0a4eff1791c04c6c02 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 getlimits_
 
index 931608698831ee84aa0860cced64705e2f75d642..520fa69a99255e7d1f9d5f8035e02bf2cb998665 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 require_root_
index 13a8475e68c3147344fbd2a1c09987abe0420e4b..f52471127f505ec345f68e7a91403ddc1fa6874c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 
index 19543db6bb01f68a7cf568c33e2e476a8cf37944..353dd84b825014b03354edc5c857cf79b65611d5 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ truncate
 
 
index 57794c3b0fe1d65b724b46a2e8a6543021846c02..99739d7d9c1ca9cadd2af836fffc7fa5a4e79647 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ uniq
 
 seq 100 > in || fail=1
index 9a0d0501d472bcc1087ec65b6b18db24ccfc55dc..e6e6a32e4227846945ee89c8862f12018dabf1a2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ wc
 
 echo 2 > 2b || framework_failure_
index 6611b47c22ddb855a2ea53035317b38656f8dce3..4893b35622490d5d8d937ddc14d7ddfcb33fe49a 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ wc
 
 (mkdir tmp && cd tmp && seq 2000 | xargs touch)
index ff50e6c9caf036d4b400170fb4e32ae71def1890..9871adf8c4ec41e0dd3ccb7e6b3fd7ef0f90915f 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv ginstall
 
 # Skip this test if cp was built without xattr support:
@@ -28,7 +28,7 @@ cp --preserve=xattr -n src dest \
 
 # this code was taken from test mv/backup-is-src
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 b_other="$other_partition_tmpdir/b"
 rm -f "$b_other" || framework_failure_
 
index cd8e6760695c17c4e6f37e39692721f999ad8303..0ae322c58424b331d4b8415b13e2e226fc87ff0b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 mkdir --parents "$(pwd)/t" || fail=1
index d0c487ec9c96d8ce51cbb3e2d18883a3211a3a35..6ddedbc66403379c7bc03f32688aac8b5b3e8fac 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 mkdir --parents "$(pwd)/t/u" || fail=1
index 7031b2ede5ce00442643feb71d1e5109658efdd3..a80fa379ce044c1d576110cab6c2e47986b42cfb 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 skip_if_root_
 
index 76d21d05559296f2b079a26187f7d4d8f8378bcf..e59198a6a9603c099e3bb8cd1bd8451951517b31 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 
index 3f59932487a1aaf2a835e5f4ae2bfcc7b24f7c16..3c8baf68f55984b5be78b69910c9388b8c9ac3ea 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 ln -s . slink || framework_failure_
index d6dcfdd87babf79b7170bb5cc2e0c234148d78cf..ea372464c2bd012893a7110ebf1fdaaf93678142 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 mkdir -pv foo/a/b/c/d >out || fail=1
index 0543e675ec3e52d6ab3b8b3a125447d711ae7977..876c5a049f61cefcb86592f95b9c5cc42bdb810e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 skip_if_setgid_
 
index f9b207f81044cbd40b0efe004dd2959b3e7943cc..3cdd37f842f817b9f84115c1eba1294f229e7d26 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 skip_if_setgid_
 
index 763236259b2c910d212c3d5c5d9d46510e2d4ddf..bb1aab97b2dd48e42d7f84782e17681558cecf45 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir mkfifo mknod
 
 # Note: on an SELinux/enforcing system running mcstransd older than
index d478930eb73c76904a61165f2a83dccaccf01aec..d9305bb53d8455686f8e34818283857382d969b8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 set_mode_string=u=rwx,g=rx,o=w,-s,+t
index 7b3c1ba305a8412393f36294c054f7af772e906c..5645a077cc4eb7c625906942ae8dedfc8d8815bd 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 
 
index 93e46d5b2efc9abcf924deda89c05af804424476..16f4a9279bbd1be05faf87ec374a25ec797bd1c2 100755 (executable)
@@ -24,7 +24,7 @@
 #
 # Demonstrate the problem, as root:
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mkdir
 require_root_
 
index 2354ed967b394ebd92557b0ded714c45d27e5b1b..9fe26e4b9df85723d96b4ea407016c91f0e65d5d 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv getfacl setfacl
 
 require_acl_
@@ -27,7 +27,7 @@ grep '^#define USE_ACL 1' $CONFIG_HEADER > /dev/null ||
   skip_ "insufficient ACL support"
 
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 touch file || framework_failure_
 t1=$other_partition_tmpdir/t1
index e5391c33727931c8fc7cd929d0b3dc22a72ae3d7..79894aca9aa9cda0a33848791a314527e3000b5a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 require_strace_ unlink
 
index d9c55e2c9bee57be8cf44cab488e1cfaebb755bb..139b02f6c3a4d7c53c90018140d824c69a06eac7 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 require_strace_ unlink
 
index 40f2c756a5909778baa3ddc257bed1004ac1fa16..7a486da6664a69650ad7961cde602343178da51b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir A B || framework_failure_
index e1383a14dd323ecfa115c350c6d7899b107b559a..0d4c3e7c017a9ad6aab4539e8212f832a11be3da 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 a="$other_partition_tmpdir/a"
 a2="$other_partition_tmpdir/a~"
index efe7225d6112547d073d83c2869513081104e54d..94fb5cdf08343dfddc49383e5561954c0dfce1d1 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv ln
 
 skip_if_root_
index d7c28703082cbeec9a5b1bd0cb6b6700d995f45e..511f3b5daa4933a7d94a215eaa71dce6fbc07143 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 touch f1 || framework_failure_
index fb1a594242b6ecff06c1b67a7d024eeadb328200..0704d032685981fd17c3ce70d654ca4a91f8b8d9 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir -p dir/file || framework_failure_
index 4322fd23dbc25d2c7d8cecc0d5195a57af8ad592..4e3242b6e087a9c4196b3f0188d050fbce57a3ff 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir -p a/t b/t || framework_failure_
index ea88a046efed711e3309938439690510cf344139..641a2e418f58c79f67ac52606b6cea805f599ffc 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 skip_if_root_
index 6bed83bf9599c49ef385ec8d40e9fc2ae8c4b7eb..dc6651a7d97e21297f46e88c9a445e291f2fcc64 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 ff=mvforce
index e0fc174f09265c1e89d120fc2617e39fcccdb514..276dbbb10d26af46a9f8c39b51094513acf0f5dc 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 skip_if_root_
index a62167a072b520b07ce5476253d644230b58114f..4caec49d63f0f9b63b4cdf999153583441ec59a7 100755 (executable)
@@ -30,7 +30,7 @@
 # directory, because it requires use of the --preserve=link option that
 # mv enables by default.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp
 skip_if_root_
 
index 645ead3c55f38ccd13bc9004960da3e5ac5f3be7..2bbc2cafc5858339e2c712d5c48f03a2c43de01d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 touch a || framework_failure_
 ln a b || framework_failure_
index 78a555ac9ec2e01aaa2cfdac12c798b6f786a16b..386f2b524f86a8e118884bfb0ee4be54553aeab1 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 dir=hlink
 
index 41c4187ea3e53af22aa614fcb30b5a26eb1494b5..85f2da7bda7277357168949c6a6140e009ea55cb 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 touch x || framework_failure_
index f24801958103c97ae8798727d4736d507695a6ef..b8568507656bf4980d24c014ada6b98c3bc4ee1a 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 skip_if_root_
index 3912842a20aeab8addb63a60669b9cfc3bd6112a..073c070b1c44b79ed57e43ba35b167a37801892a 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 require_controlling_input_terminal_
 skip_if_root_
index 8ef6ca77b8f8682a882f0fa739b0f2cb9d92cf6d..4b1da69a611ecc0b437accb4f3e56022cf3adddd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 for i in a b; do
index 76cacabe3a454bdbd8c0d5d20a1ba73c2e14f3b6..773c47a8f2ff98300de81fbce211d991eaff361f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir a || framework_failure_
index 4615eaabb0f0fbd582a6a3eb69aa298eb6808e1d..7a9894a85a75f46f90064a5517902f2f709cf4d3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir a b || framework_failure_
index 3e6ace7188d967f9015d9748f1acff97aad1c774..db57fecf11416f7ca80be987471c3f29388e553c 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 file="$other_partition_tmpdir/file"
 symlink=symlink
index b2b8f835167b4f47d1aa9f2f205c9886a47ceed8..569b0819d473c812aca1f0de81d666740d419ff1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 dir1=is3-dir1
index 5119e8fa34a8aa68e9f4ffb48cc0fe5bf25711bd..86beb7270eb61b447610e8b94f2f78950474f21e 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 touch file || framework_failure_
index 231d69c2c540c47c5b5ba3de0ae77cb2d6c40187..06b36a4403353e10f644ae98bf597cc0aca62efc 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 dir=toself-dir
index d349a3f11ce986cecdd331c037562cce40fcd38e..1dd006fa4052bc64a4b0f6ac077d557167baaaec 100755 (executable)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # limit so don't run it by default.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 skip_if_root_
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 # This test is relatively expensive, and might well evoke a
 # framework-failure on systems with a smaller command-line length
index 9a9b1156aa8d083729ea89492e8794f24e63f026..89a62f66d866cd2faba668685013d174224fee8e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 
index dac55d0c2dea471a5949b7ef55b7591776656a63..d5914cb7152e96047f5866e90d83a1784a6e81cd 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 null=mv-null
 dir=mv-dir
index c1443cd3eb4a184201dc0c0b0e44b8dddda0d13b..61cf48e99ebe7c27338469b758bfb35f162c7125 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir -p d/sub empty src d2/sub e2 || framework_failure_
index 499a6b66fe2e3e8651f8803a876f2412f5061303..6bfddb299953ef5930781c045381f1313f3b41c8 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 skip_if_root_
 cleanup_() { t=$other_partition_tmpdir; chmod -R 700 "$t"; rm -rf "$t"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 touch k "$other_partition_tmpdir/k" || framework_failure_
 chmod u-w "$other_partition_tmpdir" || framework_failure_
index af773a23bc851873fd2a9a822c6e5ddf9e210621..c93cd8577e3defe4ae93ac013ae6cd9a99913a5c 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 touch f || framework_failure_
 ln f g || framework_failure_
index 19d9ecb758e5cca66b72b7b12b918ae0623e302c..33fdaa8c2727cd1730d58a3764af22e506452a30 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 mkdir foo || framework_failure_
 
index e57de3c969af2f563234076956b1351ff653a940..1f9c812204c6478a200d9d4eb72bffba0eea25eb 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 # On NFS on Linux 2.6.9 at least we get:
 # mv: preserving permissions for 'rem_sl': Operation not supported
index bbda9da7a545146ca8ada30ddd0a38cb9201a705..19864e4abb5cb0f3f143981c019e5292e5a67d21 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 : > file
 chmod a=rwx file
index 3a7944a66bcbc84534d1cf903b8f9559a3d89810..dd7a99d290b1757fb61f6130b6a3156646a75384 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 skip_if_root_
 
index 6df65024e4a7d206f264462df6443bef520d7c7f..c3a9bcdc57cb81d101f6263318bf59aca1981103 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 require_root_
 
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 # Set up to run a test where non-root user tries to move a root-owned
 # file from a sticky tmpdir to a directory owned by that user on
index f53f6ef44e9cce23e64277e62e2c82326ad6e989..77c7dc8832765a15e317d44d2dc824b5cb10cf5d 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 # Create a file f, and a symlink s1 to that file.
index 2dac484016c23170499c20f343281d643b89f2f1..675871d172327bcec2bbcaad71a646335f6192cc 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 touch f || framework_failure_
index c203d7a4b8e22b6012f781991d1f47e6923cccd6..b0c9bab338597ea82a6c4fc5f77f5d036d254417 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 cleanup_() { rm -rf "$other_partition_tmpdir"; }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 rem_file="$other_partition_tmpdir/file"
 rem_symlink="$other_partition_tmpdir/symlink"
index 26f8802507622d8ceea05040d1ca27d48eae4e8a..cec04839c24079b6bd0b6dabf0d2d963ba6924d2 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ mv
 
 mkdir foo || framework_failure_
index f0beb40765d4fe8967fdfc3409613ebfc40eb60c..1514a8c12a5b879b25a64a2d9b1853c183a9500c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ cp mv
 
 echo old > old || framework_failure_
index 259c9d6c2c1d1a7efe56bcafb4ff064f40aef277..f20241426d42c554735d53a847783099cd657a1c 100755 (executable)
@@ -412,7 +412,7 @@ my @tv = (
 # Convert the above old-style test vectors to the newer
 # format used by Coreutils.pm.
 
-my $pfx = "$ENV{abs_srcdir}/pr";
+my $pfx = "$ENV{abs_srcdir}/tests/pr";
 
 # Normalize otherwise-variable output page headers.
 my $common_option_prefix = '--date-format="-- Date/Time --" -h x';
index 32b75c5952de1d2bd41cb0f23c843adb0bfc368d..ee7def672c2262471d378441d5b32ecf046aa5eb 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ readlink
 
 pwd=$(pwd)
index 3f296010ca3af592d8eb05e9031995c3cd5c371d..480ced0a67b2a05afa25c3c8aaaa9cfe0342a7c4 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ readlink
 
 pwd=$(pwd)
index 09a96f5093ee40a5cd81cf05cc755fa1912b29b9..5ecc50459f64158edf10bde916a6280856fec8e8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ readlink
 
 pwd=$(pwd)
index 511a9890e91f1938796d92a464f923dd9a2c0a74..7730764b63bc5394d1963487c1f191aec8ab3def 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ readlink
 
 mkdir subdir || framework_failure_
index 33e1283b66e985f2eccac185ecc949799844c231..3379f0b54f7fd9182440ededd7f2cc4582b78033 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index f35e951256b6635081630bdb10597848dd61cdc7..0c8b1bcff836523be1b4ce98ee9285c464e65cc3 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir a || framework_failure_
index a63cff60d8c414e1c62964a00bd5f38150446d12..b62c2ee71a20d098d17aa6bdf865ac52a2b92810 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir d || framework_failure_
index 2f2cf749257843faaac9f671b46c0165e7f1618f..d5075f58ee0444b7264db55a377ad7fe573412dc 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir d || framework_failure_
index 92a59066adadb2b67f9a57e27548e53e4a6282e3..ad81231a29abe29ff6b8257cb71096f2456fd82c 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 ln -s no-file dangle
index f739eb5940a3c792c5e291f6c9217709da0784f6..7a144ccf23dbf4502b607a9b755da40dbabae365 100755 (executable)
@@ -23,7 +23,7 @@
 
 # If this test takes too long on your system, blame the OS.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 umask 022
index 26609774105f09dcfde1714219a262c0bda80ecf..5e6c1a1c3c08ba276ad0c436a47b157b183f4454 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 require_perl_
 
index ce33b98e5d4e59ff8e0535979b4c19326da07cd5..4a1a54ae8518b53e9c489a7ae9de9366e510d409 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir --mode=0500 unwritable-dir || framework_failure_
index 8876e9458f9aaac0392ec210c56815c31edef0fb..bdb8f5b358b59d6bbe112e7f9f408b2442e84c40 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir d || framework_failure_
index fc693596ae7f1874eef144b9e0171802bad9f826..fa9b960b945d80d3d9858320e5ca52ff4e3ea792 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir a b || framework_failure_
index e23cb8553ce863e87f09693a20c78716d8a2ed53..24bdfe70b7ad90a524622cf6eb000a89e96bafa1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 97b0a17b384ad9774c757b4422a1c2fedb50695f..f6be006ebcfc12636093e526a503c5806be5cec1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 very_expensive_
index e1ed8d4faf690d1aab4fa798628ba44b85a71203..bfdb92a0e360b163c3c23da8c7e20a53f13f4aa1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir -p d || framework_failure_
index fa2f43227c7bcd16c1f21cdb18366af9cfc33af5..ab157aa858e8089db0fd17544a5b4f615b35a1ef 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 require_root_
 
index 947dfac36cfb1cc141d3e09df79dfb5aa6aa9894..9defa0b175f61e2734c5c2c93dcc5d1c7988c507 100755 (executable)
@@ -19,7 +19,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 344325e13f222fea38eb12b4fde8ad8fbb4f1def..2185b2e7158e9c1653db8da7aa941e8176468f72 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 expensive_
 
index 67df853f59c538c9450f70aef29cac38f17fbad9..f4764f31ec3fb1cc5aad111ed75113b8975a2f33 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 t=t
index 80e1fcd986d70f9a07edb35690ef1ef255325aa3..591c86d2caf1bdc57049ef65c8772add3d61d46d 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 6b22e1ca13eb28aaa1f4264379f15f4a762df577..30fa732cfb7ac8f01290cd621e4f107057489410 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir dir || framework_failure_
index bcf3b7eb9fc345f7c684d4dc882d9997f03f15f1..a6beaa47e532b03de500c089cede973508629e1a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 2f045815e1e1b7bf75aec1dcea70b82ea5a471fd..5a3f42e7b293aa38b0d164a474ad8b823a0536b1 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 # Skip this test if your system has neither the openat-style functions
index 6312cba1cc3354455011177f24a4b8adcf7d1c7f..a8aaaad0f8b7cd65786206b17af44f7ae03af6eb 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 touch file1-1 file1-2 file2-1 file2-2 file3-1 file3-2 file4-1 file4-2 \
index 982d1a4d37eda14b2641dda222148187a550bbef..4985c84610e8464441e4ffb93dfe63ed7ff7dc5f 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir -p dir1-1 dir2-1 dir2-2 || framework_failure_
index 01b33bc1e7a7fe4b80cec75161cdd0d01a3da562..60a24d1821863e89a3fe68175c855ded5dba23d9 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 t=t
index f28653cc8b80e9d67465ee5d4ea81eba4fda1ae6..799d83917460205eac497c9da139d1e210f022be 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index b5f10dac4d2c202077b44f46e1939ed290b158df..d2ee152c77236f9763e4be2eeaf37e60358cd9fc 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm du chmod
 
 expensive_
index 0deb262a4d535481ccbb157aa245718c4d7d29bb..760a67652c71d19507b3cc88bd6dd1fede21c110 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 require_root_
 
index 675c3fd0a36bfac2c6a3b6ae1b1ec828a6957aa6..f4c990b604d6704b85078ce7e91486245cd90bd5 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 require_root_
 
@@ -28,7 +28,7 @@ cleanup_()
   umount a/b
   rm -rf "$other_partition_tmpdir"
 }
-. "$abs_srcdir/other-fs-tmpdir"
+. "$abs_srcdir/tests/other-fs-tmpdir"
 
 t=$other_partition_tmpdir
 mkdir -p a/b $t/y
index 077df76e6d24547701ce52fd3fca44e03c325736..9a56ba7460764edeaa311c22d569e364cd11f361 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir -p a/b
index 858269d75aed10f98eb691fe0b024b773dc3375e..5f0b43f49d572016e352c253d53b3516ea879468 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir a a/a || framework_failure_
index c946f63db3a5fa7fa21883390e53f6535d93a939..555accece6bb1710b2f3793f98e753a89d505431 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir t t/a t/a/b || framework_failure_
index 71c8a0f64bdde47d7579123c6c80634d59462c17..2bac150972ff8882c360576826d58cef28ad5ade 100755 (executable)
@@ -23,7 +23,7 @@
 # And the rm from coreutils-5.0 exposes the same problem when there
 # are 338 or more files in a directory on a Darwin-6.5 system
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir t || framework_failure_
index 0bfb76072c9cb58e8fa7023fcb78fe8b74932e01..735cf9f6482a21b3c4e12a96fde7da67c94d75dc 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir d || framework_failure_
index 018648be0f4af97ba16d928688ea605374b3e9d1..8e65b0c52a35e089e88f30cf093ae1b72a24d513 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 require_root_
 
index 711e1bc0e2e6ecd90d1136f739e5ed728548df4c..1e3a96e16c77da3ef87b387e61fdc863f291f404 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 # Create a directory containing many files.
index aa90c57ccaccd494e5b9351aa2ae4e9ca855d9a2..81e048ce723af0756681a1597225bdec29b56ed9 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 7bbdfeaba3e400f609d28243c87798c827aa505b..bf3c964a84155f8b8d5120fa2366ea0b85f45c75 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 37ee87b22fd13a872aa0fbd28467129f84239fa9..5ffa27500f1a71712a49bc877e3c856a402fd17a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 3e22aad9df17ae478bfc643bde9a98bce3b2443e..290f10966313a63ba3385567702f17f6cd471a41 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 56c6bbc26efedfe60f24dd048ededc81180606ad..31b11e1bd0c713d8504a99ca0c0462049c8f3b07 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 584236abcd0b1b5b6d05ab73cf9fd306fdabf7cd..2e649a92954daa4f07e62e9d24168abfe0ff48b4 100755 (executable)
@@ -21,7 +21,7 @@
 # actually remove files with names of entries in the current directory
 # but relative to '/' rather than relative to the current directory.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 rm -r '' > /dev/null 2>&1 && fail=1
index 46fc98cd8aeb01f50b409da27a3cfa581ef1eeb0..dd472c2ba37d6697c43e36a0899d882bda1cc924 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 4b8bbc2d322f9ac512df4cb3b45303aa96e9860f..b212184caae3ea87b7a8476098f71bfd19da16e2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 skip_if_root_
 
index 2fae859b2b0e6af009c7bcbf69f74d78c516d2b2..504f4ffb82a6e3937cafcf2b3193f572e18b62d5 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rm
 
 mkdir a || framework_failure_
index 49cfb00ab6f3281d49cd3ccc3c82e99dc697ba67..2b4abec546326320492608f4195af118d23af67a 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rmdir
 
 mkdir d d/e d/e/f || framework_failure_
index 92463b8d8abcb2115c04e2ca538fda0ab5fc339d..97001bbbe15937de96b1947ec0f26c9266feabe6 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rmdir
 
 cwd=$(pwd)
index 38e9f20d72b310004ddf8df15313306425ae5b6f..2fd709c2605bdd1f14817f6fead10a4001c4c2be 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ rmdir
 
 mkdir dir || framework_failure_
index 7d1f6e9585a9a869be5a673761ee525bf7e1db05..a67a5dd029ef73dd6de0083d741f1e2fcd684b1d 100644 (file)
@@ -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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ FIXME
 
 # FIXME: skip_if_root_
@@ -24,7 +24,7 @@ print_ver_ FIXME
 
 # If used, these must *follow* init.sh.
 # FIXME: cleanup_() { rm -rf "$other_partition_tmpdir"; }
-# FIXME: . "$abs_srcdir/other-fs-tmpdir"
+# FIXME: . "$abs_srcdir/tests/other-fs-tmpdir"
 
 FIXME > out || fail=1
 cat <<\EOF > exp || fail=1
index 8cfd3c1e607a035554f7f80093142efb8cab4e69..3cb780590ef6625d9dfac571dc1a689d35f898b8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 printf '1\n2\n3\n4\n5\n' > in || framework_failure_
index dd8b6cbdd68d033b088007f4fb8de7abd76a5108..b83d3c8382e6568df2510d7c4923ac7780039365 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 # N can be greater than the file size
index 83251e9e1ee71523f51e7b51964836447bd4fcef..d77c039b0afe1d0b90515423c99d897226892dcd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 getlimits_
 
index 7a55818e71ac8a657014408256c1f3c84593473f..21ce5bca752e4c3158f6be7f359b3ea69a42f0d8 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 xz --version || skip_ "xz (better than gzip/bzip2) required"
 
index 7a6fba3f50034b39ba4a70ba0354e8fbf4147f84..e0f7ff5f98689149a2ff66c22584c6ff3f181c60 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 seq 10 | tee exp-1 > xaa
index 8199883a4671f4660c4aa8c94e7691bc26fdbca2..732b5951e08c1c5dba0fa68ee8124b3d02a7e5ac 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 # invalid number of chunks
index 35eb3eb2ab7165434c2f3fe08beef2f3e340e5f9..501b99f28689ae091a397af9a0768ff4b0fb1c51 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 printf '1\n2\n3\n4\n5\n' > in || framework_failure_
index ad22df6212c1b6aec6893a26535db3288f88c708..e1e50a143fd3df109d0c9e882ae6f963ceb115c2 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 # Check default start from 0
index afd9bf4bed0f6274665cb56d3b82765986d2b9f4..cd0c52512433a454a75375d1e60e7922c2077975 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 require_ulimit_
index dacc9515845f82ce3acfd89b49510afc593cf48c..4fa9fc437aecb6a7f15f36b3dd94e7745621aa7b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 
index bc65e9f6dde5d9ea1980c89873cda1fdf8fd3466..58e8cfd0adb3181f7e55fd032c35e3937bfa5f9d 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ split
 
 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 fbdb533146fdf55d540f1125b89fe0feb84aa208..e09908114cca044b641c7a03dd170a56cc45d343 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 debug='---disable-inotify'
index 53bc00dd3ede7b17f0a583196bdd355ef7461a2a..a4305b148a7aa921603279154943cc4f2e384540 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 touch a b || framework_failure_
index c79bb7b282d622e98da924e467b9bd3db2968b80..be1f49dbc96a94917212b6901e79560b30fe51fc 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 require_root_
 
index d94d3d8e248e59306225617bcc25cd92b0af38c3..020f53d966b2c9bbeca243d14258e84584dac556 100755 (executable)
@@ -18,7 +18,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 # Not "expensive" per se, but sleeping for so long is annoying.
index 043e25937d3e43bea9dda83a1e9012efdd7648b6..84b0a6e58fefb3280f9c32467506d2d7afcf7ab2 100755 (executable)
@@ -23,7 +23,7 @@
 #   Aborted
 # due to a race condition in which a dev/inode pair is reused.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 # Not "expensive" per se, but sleeping for so long is annoying.
index 8ace3183ba80c3ee22d412ae69d2735a6dcb3219..93e5e93ccd64c4b2438ed012e36981daeec0d4b2 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 expensive_
 
index bf68ce7646d50d8ef437941999e1e652eff7c40f..c675770a220bb72b5ffac74b1cde0f6a95d0488b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 echo line > in || fail=1
index 2ab1c011947277589f1bd236849432b4793c1e2a..d847505f67846a53eb26b47e7f03f5ed6331b78e 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 cat <<\EOF > exp || framework_failure_
index ee0d1ae827a86865b88e9452d4293c1aa1c734d5..3f822c684ab41850155c2e22af7477b60dbb8233 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 echo line > exp || framework_failure_
index 3f45f7741eeb56a28de1dc65d679731216e8f2b9..ced9ed10b69e414fb90eb2c194cc95fd2955b39c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 yes > t &
index deec76d1b065c83dc12c48fdc5b144f84d31ae88..3cb6f6b8945ed8a8aada8b1cd42d02ecd98d73da 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 # 9 is a magic number, related to internal details of tail.c and hash.c
index eb192a656c859875f5da2cd312142881d27c59f8..2d01f1496b53208df0f459019d20065a8c277667 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 touch f || framework_failure_
index ab25f67d0c42a3fd79c7aa7fba97078beabb396b..7476283cbe3975ac10c2211c87477c2da1dbc54c 100755 (executable)
@@ -20,7 +20,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 # Don't run this test by default because sometimes it's skipped as noted below.
index 311633a84bc7b1ae7aa7dea653e246236c8a7197..9a56acd51993d3fb151d1e1117c71a486e243f86 100755 (executable)
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
   tail --version
 fi
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 expensive_
 
 # Wait several seconds for grep REGEXP FILE to succeed.
index 0a26f8d3d04bfb408d91a5650bd2a594b3ec67da..1870193e594cf7d3f5f44a397d7b5929a452514a 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 getlimits_
 
index e3d8a70b5ba50c64ec2740dd5aabcff275485bcd..60ae62e95c1732bf2b84c4d02101f7e412ea08d0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 echo foo | timeout 10 tail -f -c3 > out || fail=1
index fffd43a1a06f7318b4b46833bd57126ea108da48..dc23c34ff4e032cdb701af2a5641d8acb3968a0c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 mkfifo_or_skip_ fifo
index ad446d350085a7b2ffcb934945a40921f9fd09fc..a2d4d553d6437aa42afe115c7dedd80c369f645c 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 
index 5b40de45cb2c6adb8edcc35d8ffe80f3a8903276..431dc6c08ccdcb541882128e9ba9c85d0b421cfe 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 (echo 1; echo 2) > k || framework_failure_
index 2b2147a7f57977548eb8ef4ac648677ee1347cd9..857d5d8a2b7873bbc35280c2ab6130516820a4b1 100755 (executable)
@@ -21,7 +21,7 @@
 # It skips the test if your system lacks a /proc/$pid/status
 # file, or if its contents don't look right.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 require_proc_pid_status_
index 587b449545a4ef4f4dd4353df55d08c8139987d4..a5eefa34b0c229269bd899cd2ecee09e06c97b40 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ tail
 
 touch here || framework_failure_
index 915a1d05dade68ff9b8da244add954db6dd37650..4f1a818afd6f4dc493fdd18b3829babed8e2a3e0 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 echo 60.000000000 > exp || framework_failure_
index 1eb2ed38afe5b94ec9fb525a7481f92758a34715..8e9235b1b7fcc34f06551caff8ed2ba52d48dfc6 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 rm -f touch-target t-symlink
index b4c04fe4111a5befedc4b483db7ad01e3c9592e8..cb0e17275118c507ecfda753621a4f4973d113b1 100755 (executable)
@@ -2,7 +2,7 @@
 # Make sure touch can operate on a directory.
 # This was broken in the 4.0[efg] test releases.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 touch . || fail=1
index a150bd58ee3458783d34abc40c5b1660611845c6..3ab0ee1050e88bc66c5ef6a47f7965ee7bf3b148 100755 (executable)
@@ -21,7 +21,7 @@
 # fails to work on SunOS 4.1.3 with 'most of the recommended patches' when
 # the empty file is on an NFS-mounted 4.2 volume.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 DEFAULT_SLEEP_SECONDS=2
index b74d2a5bb80e575875dc1dd66cec8f84772787a2..d56dbf32c8d6702c8399af951fcf91d275c13b2b 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 skip_if_root_
 
index 65f4328cca4afbe545ee5f47fc4ce0588d1e7865..06a8bc489e48a42b4dcedd0546a57dd8410f8909 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 mkfifo_or_skip_ fifo
index 88a079a0123fa452106349e3752ff3060913df15..202a92aaf740169d8afb34364c97228c6d825c29 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 
index aee9a5cfcf38314f14af91fffd1f721468ddaff5..6df02a6056e1d8af3de3dff76bdc1139957bd901 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 ln -s nowhere dangling || framework_failure_
index abebc52610d47c059abfed059c8d9d1564411395..66631a901555a63c7d89a0e3ef2cf69178c15463 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 # Make sure t2 is newer than t1.
index 63b8af2492b4f83c3b8e620f2b1acffa25dd45b5..4d3a61bb6bc0c630cead87e977b6825e550e3e2b 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 if env -- test -w /; then
index 3da8d35ffb030e333228beed48c3dfdb4dff2400..3c01fbfa830fb7d01cba8736d60bb6f9827898c1 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 require_root_
 
index d403127beab17a733009f84db43cf2663a739cf1..925191395f98d9bcb40abfdb14af0d91261743ec 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 _POSIX2_VERSION=199209; export _POSIX2_VERSION
index ee8c1d3b0679589e2fc9c733c5d6f21749e24586..d99d5a417d2b0a1ab4b6e0ea58ae6ab8c7a6f114 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 skip_if_root_
 
index ba199fce0ab06978d2fbd09e3e8578500c93789e..2d9d357a3b959507760e85b367fa039005c60df1 100755 (executable)
@@ -17,7 +17,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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 TZ=UTC0 touch --date='2004-01-16 12:00 +0000' f || framework_failure_
index f09695c0784dfae47087d31ceb9fc6ce3ffa8d9b..f8e6b78946e7321e42d4cf9526ea7b56396943bd 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/>.
 
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ touch
 
 ln -s nowhere dangling || framework_failure_