1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

in 280+ tests/* files, use $srcdir, not $top_srcdir/tests

This commit is contained in:
Jim Meyering
2008-05-27 13:45:44 +02:00
parent c6c9e8730e
commit 00a3098235
282 changed files with 292 additions and 292 deletions

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p a/b

View File

@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
ln -s no-file dangle
ln -s / symlink

View File

@@ -28,7 +28,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
umask 022

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
# Root can run this test, but it always succeeds, since for root, all
# files are writable, and write_protected_non_symlink never reaches

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir --mode=0500 unwritable-dir || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir d || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir a b || framework_failure
touch a/f b/f || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -m0 inacc || framework_failure

View File

@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir -p d || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
require_root_
# The containing directory must be owned by the user who eventually runs rm.

View File

@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
ok=0

View File

@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
expensive_
# Create a hierarchy with 3*26 leaf directories, each at depth 153.

View File

@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
t=t
mkdir -p $t || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
touch f || framework_failure

View File

@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir dir || framework_failure
echo y > y || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
touch existing-non-dir || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
# Skip this test if your system has neither the openat-style functions
# nor /proc/self/fd support with which to emulate them.

View File

@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
touch file1-1 file1-2 file2-1 file2-2 file3-1 file3-2 file4-1 file4-2 \
|| framework_failure

View File

@@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir -p dir1-1 dir2-1 dir2-2 || framework_failure
touch file1-1 file2-1 file2-2 file2-3 file3-1 file3-2 file3-3 file3-4 \

View File

@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
t=t
mkdir -p $t $t/a $t/b $t/c || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
fail=0

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
require_root_
mkdir d || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
require_root_
# If used, these must *follow* test-lib.sh.

View File

@@ -24,7 +24,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir a a/a || framework_failure
> b || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir t t/a t/a/b || framework_failure
> t/a/f || framework_failure

View File

@@ -28,7 +28,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir t || framework_failure
cd t || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir d || framework_failure
touch d/a || framework_failure

View File

@@ -22,7 +22,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
# Create a directory containing many files.
# What counts is a combination of the number of files and

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p b/a/p b/c b/d || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p a/0 || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p z || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir dir || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p d/e || framework_failure

View File

@@ -26,7 +26,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
fail=0
rm -r '' > /dev/null 2>&1 && fail=1

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p a/b || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
skip_if_root_
mkdir -p a/1 b c d/2 e/3 || framework_failure

View File

@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
rm --version
fi
. $top_srcdir/tests/test-lib.sh
. $srcdir/test-lib.sh
mkdir a || framework_failure
touch a/x || framework_failure