mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
in 280+ tests/* files, use $srcdir, not $top_srcdir/tests
This commit is contained in:
@@ -552,4 +552,4 @@ pr_data = \
|
||||
pr/ttb3-FF \
|
||||
pr/w72l24f-ll
|
||||
|
||||
include $(top_srcdir)/tests/check.mk
|
||||
include $(srcdir)/check.mk
|
||||
|
||||
@@ -48,15 +48,15 @@ built_programs = \
|
||||
# The rest are envvar settings that propagate build-related Makefile
|
||||
# variables to test scripts.
|
||||
TESTS_ENVIRONMENT = \
|
||||
. $(top_srcdir)/tests/lang-default; \
|
||||
. $(srcdir)/lang-default; \
|
||||
tmp__=$$TMPDIR; test -d $tmp__ || tmp__=.; \
|
||||
. $(top_srcdir)/tests/envvar-check; \
|
||||
. $(srcdir)/envvar-check; \
|
||||
TMPDIR=$$tmp__; export TMPDIR; \
|
||||
shell_or_perl_() { \
|
||||
if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \
|
||||
if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \
|
||||
grep '^\#!/usr/bin/perl -T' "$$1" > /dev/null && T_=T || T_=; \
|
||||
$(PERL) -w$$T_ -I$(top_srcdir)/tests -MCoreutils \
|
||||
$(PERL) -w$$T_ -I$(srcdir) -MCoreutils \
|
||||
-M"CuTmpdir qw($$tst)" -- "$$1"; \
|
||||
else \
|
||||
echo 1>&2 "$$tst: configure did not find a usable version of Perl," \
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
|
||||
fail=0
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
|
||||
set _ $groups; shift
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
|
||||
set _ $groups; shift
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
skip_if_root_
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
|
||||
set _ $groups; shift
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
|
||||
set _ $groups; shift
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
umask 0
|
||||
file=f
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
file=f
|
||||
touch $file || framework_failure
|
||||
|
||||
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch f || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p d/e || framework_failure
|
||||
chmod 0 d/e d || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
mkdir -p d/no-x/y a/b || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
umask 0
|
||||
mkdir d || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
ln -s non-existent dangle || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
touch file
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chmod --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chgrp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_root_
|
||||
|
||||
touch f || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
chown --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
ln -s no-such dangle || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chown --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
mkdir d && ln -s / d/slink-to-root
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
chown --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
id_u=`id -u` || framework_failure
|
||||
test -n "$id_u" || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir a b c || framework_failure
|
||||
ln -s ../t a/1 || framework_failure
|
||||
|
||||
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
|
||||
setfacl --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_acl_
|
||||
|
||||
# Skip this test if cp was built without ACL support:
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
suffix=.b
|
||||
file=b1.$$
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir x y || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
echo a > a || framework_failure
|
||||
echo a-tilde > a~ || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir src-dir dest-dir || framework_failure
|
||||
echo f > f || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_root_
|
||||
require_selinux_
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir a b c d || framework_failure
|
||||
ln -s ../c a || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p a b/a/c || framework_failure
|
||||
touch a/c || framework_failure
|
||||
|
||||
@@ -23,7 +23,7 @@ fi
|
||||
|
||||
# Ensure that ls sorts the same way for everyone.
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
umask 022
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
|
||||
mv --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
working_umask_or_skip_
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch f slink-target || framework_failure
|
||||
ln -s slink-target slink || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir d e || framework_failure
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir dir1 dir2 || framework_failure
|
||||
touch dir1/file || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir dir || framework_failure
|
||||
touch file || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_membership_in_two_groups_
|
||||
|
||||
set _ $groups; shift
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
chmod g-s . || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
umask 022
|
||||
mkfifo fifo ||
|
||||
|
||||
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir dir || framework_failure
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch src || framework_failure
|
||||
touch dest || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
ln -s no-such-file dangling-slink || framework_failure
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch a || framework_failure
|
||||
ln a b || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir a b
|
||||
msg=bar
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir b
|
||||
msg=bar
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
msg=bar
|
||||
echo $msg > a
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
working_umask_or_skip_
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
umask 002
|
||||
mkdir mode ownership d || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
mv --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
very_expensive_
|
||||
|
||||
umask 037
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch f || framework_failure
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_root_
|
||||
|
||||
create() {
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch empty || framework_failure
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
echo abc > foo || framework_failure
|
||||
ln -s foo slink || framework_failure
|
||||
|
||||
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Unset CDPATH. Otherwise, output from the `cd dir' command
|
||||
# can make this test fail.
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch file || framework_failure
|
||||
ln -s file a || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_sparse_support_
|
||||
|
||||
# Create a sparse file.
|
||||
|
||||
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_root_
|
||||
|
||||
touch a b c || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkfifo fifo ||
|
||||
skip_test_ "fifos not supported"
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir x y || framework_failure
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir dir || framework_failure
|
||||
ln -s dir symlink || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
cp --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
ln -s no-such dangle || framework_failure
|
||||
echo hi > f || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
dd --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
tmp_in=dd-in.$$
|
||||
tmp_in2=dd-in2.$$
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
dd --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
dd --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
dd --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
printf 000100020003xx > in || framework_failure
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Creating a 2GB file counts as `very expensive'.
|
||||
very_expensive_
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_sparse_support_
|
||||
|
||||
dd bs=1 seek=8G of=big < /dev/null 2> /dev/null
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p a/b d d/sub || framework_failure
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p a/sub || framework_failure
|
||||
ln -s a/sub slink || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p dir/a || framework_failure
|
||||
ln -s dir slink || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p a/b/c a/x/y a/u/v || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Call this an expensive test. It's not that expensive, but command line
|
||||
# limitations might induce failure on some losing systems.
|
||||
|
||||
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p dir/sub
|
||||
( cd dir && { echo non-empty > f1; ln f1 f2; echo non-empty > sub/F; } )
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
mkdir f && cd f && mkdir a b c d e && touch c/j && chmod a-x c \
|
||||
|
||||
@@ -20,7 +20,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
mkdir -p a/sub || framework_failure
|
||||
|
||||
@@ -25,7 +25,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
cwd=`pwd`
|
||||
|
||||
@@ -33,7 +33,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
proc_file=/proc/self/fd
|
||||
if test ! -d $proc_file; then
|
||||
|
||||
@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Create lots of directories, each containing a single symlink
|
||||
# pointing at the next directory in the list.
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p dir/a/b || framework_failure
|
||||
ln -s dir slink || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
mkdir -p d/no-x/y || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p b/c y/z || framework_failure
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir a b || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
require_readable_root_
|
||||
|
||||
fail=0
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Determine if `.' is on a local (would non-NFS be sufficient?) file system.
|
||||
# On at least some NFS implementations, symlinks never take up space,
|
||||
|
||||
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir -p dir/1/2 || framework_failure
|
||||
ln -s dir slink || framework_failure
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
du --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Run this test from a sub-directory one level deeper than normal,
|
||||
# so that the "du .." below doesn't traverse sibling directories
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
ginstall --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
skip_if_root_
|
||||
|
||||
dir=dir
|
||||
|
||||
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
|
||||
ginstall --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
install --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
ginstall --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
fail=0
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
|
||||
ln --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch a b || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
ln --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
touch f || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
ln --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
t=tln-symlink
|
||||
d=tln-subdir
|
||||
|
||||
@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
|
||||
fi
|
||||
|
||||
# Make sure we get English translations.
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
echo foo > a || framework_failure
|
||||
ln -s . b || framework_failure
|
||||
|
||||
@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
|
||||
ln --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir d || framework_failure
|
||||
fail=0
|
||||
|
||||
@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
|
||||
ls --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
# Don't let a different umask perturb the results.
|
||||
umask 22
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
ls --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
ln -s no-such-file dangle || framework_failure
|
||||
mkdir -p dir/sub || framework_failure
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
ls --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir dir || framework_failure
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
|
||||
ls --version
|
||||
fi
|
||||
|
||||
. $top_srcdir/tests/test-lib.sh
|
||||
. $srcdir/test-lib.sh
|
||||
|
||||
mkdir sub
|
||||
cd sub
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user