diff options
author | Jim Meyering <meyering@redhat.com> | 2008-05-27 13:45:44 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-05-27 13:48:32 +0200 |
commit | 00a309823501317f9061a28e98cc13177bc4a12a (patch) | |
tree | dbfff1a02de790d3585e296a2141369adcdaa5de /tests/du | |
parent | c6c9e8730e23af5d96a3b25331b0510112422abb (diff) | |
download | coreutils-00a309823501317f9061a28e98cc13177bc4a12a.tar.xz |
in 280+ tests/* files, use $srcdir, not $top_srcdir/tests
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/2g | 2 | ||||
-rwxr-xr-x | tests/du/8gb | 2 | ||||
-rwxr-xr-x | tests/du/basic | 2 | ||||
-rwxr-xr-x | tests/du/deref | 2 | ||||
-rwxr-xr-x | tests/du/deref-args | 2 | ||||
-rwxr-xr-x | tests/du/exclude | 2 | ||||
-rwxr-xr-x | tests/du/fd-leak | 2 | ||||
-rwxr-xr-x | tests/du/hard-link | 2 | ||||
-rwxr-xr-x | tests/du/inacc-dest | 2 | ||||
-rwxr-xr-x | tests/du/inacc-dir | 2 | ||||
-rwxr-xr-x | tests/du/inaccessible-cwd | 2 | ||||
-rwxr-xr-x | tests/du/long-from-unreadable | 2 | ||||
-rwxr-xr-x | tests/du/long-sloop | 2 | ||||
-rwxr-xr-x | tests/du/no-deref | 2 | ||||
-rwxr-xr-x | tests/du/no-x | 2 | ||||
-rwxr-xr-x | tests/du/one-file-system | 2 | ||||
-rwxr-xr-x | tests/du/restore-wd | 2 | ||||
-rwxr-xr-x | tests/du/slash | 2 | ||||
-rwxr-xr-x | tests/du/slink | 2 | ||||
-rwxr-xr-x | tests/du/trailing-slash | 2 | ||||
-rwxr-xr-x | tests/du/two-args | 2 |
21 files changed, 21 insertions, 21 deletions
diff --git a/tests/du/2g b/tests/du/2g index 8479524c0..6a7463c02 100755 --- a/tests/du/2g +++ b/tests/du/2g @@ -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_ diff --git a/tests/du/8gb b/tests/du/8gb index 66f02e78b..49989d1f2 100755 --- a/tests/du/8gb +++ b/tests/du/8gb @@ -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 diff --git a/tests/du/basic b/tests/du/basic index 3a378cedd..837ec92d5 100755 --- a/tests/du/basic +++ b/tests/du/basic @@ -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 diff --git a/tests/du/deref b/tests/du/deref index 47f444921..facdf426b 100755 --- a/tests/du/deref +++ b/tests/du/deref @@ -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 diff --git a/tests/du/deref-args b/tests/du/deref-args index c0281d5a5..02bdf7d55 100755 --- a/tests/du/deref-args +++ b/tests/du/deref-args @@ -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 diff --git a/tests/du/exclude b/tests/du/exclude index 73a0c5bde..1e32b60f3 100755 --- a/tests/du/exclude +++ b/tests/du/exclude @@ -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 diff --git a/tests/du/fd-leak b/tests/du/fd-leak index 73fe4f8e7..14df938d3 100755 --- a/tests/du/fd-leak +++ b/tests/du/fd-leak @@ -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. diff --git a/tests/du/hard-link b/tests/du/hard-link index d0ca8551e..f4fdf2616 100755 --- a/tests/du/hard-link +++ b/tests/du/hard-link @@ -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; } ) diff --git a/tests/du/inacc-dest b/tests/du/inacc-dest index 589328d66..b0ea4d677 100755 --- a/tests/du/inacc-dest +++ b/tests/du/inacc-dest @@ -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 \ diff --git a/tests/du/inacc-dir b/tests/du/inacc-dir index 919406a07..3b5fa5088 100755 --- a/tests/du/inacc-dir +++ b/tests/du/inacc-dir @@ -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 diff --git a/tests/du/inaccessible-cwd b/tests/du/inaccessible-cwd index f6af78600..70e83a1f9 100755 --- a/tests/du/inaccessible-cwd +++ b/tests/du/inaccessible-cwd @@ -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` diff --git a/tests/du/long-from-unreadable b/tests/du/long-from-unreadable index 1e20bb324..fdaf91ab4 100755 --- a/tests/du/long-from-unreadable +++ b/tests/du/long-from-unreadable @@ -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 diff --git a/tests/du/long-sloop b/tests/du/long-sloop index 208417e70..31aac1fe5 100755 --- a/tests/du/long-sloop +++ b/tests/du/long-sloop @@ -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. diff --git a/tests/du/no-deref b/tests/du/no-deref index e1b714036..8d8bc6c68 100755 --- a/tests/du/no-deref +++ b/tests/du/no-deref @@ -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 diff --git a/tests/du/no-x b/tests/du/no-x index b7d62730a..5569b5d19 100755 --- a/tests/du/no-x +++ b/tests/du/no-x @@ -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 diff --git a/tests/du/one-file-system b/tests/du/one-file-system index fd2695631..82081c6da 100755 --- a/tests/du/one-file-system +++ b/tests/du/one-file-system @@ -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 diff --git a/tests/du/restore-wd b/tests/du/restore-wd index 62409db57..b716b4112 100755 --- a/tests/du/restore-wd +++ b/tests/du/restore-wd @@ -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 diff --git a/tests/du/slash b/tests/du/slash index a939b91b6..d433a9235 100755 --- a/tests/du/slash +++ b/tests/du/slash @@ -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 diff --git a/tests/du/slink b/tests/du/slink index 082efddf7..588c4df32 100755 --- a/tests/du/slink +++ b/tests/du/slink @@ -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, diff --git a/tests/du/trailing-slash b/tests/du/trailing-slash index a3f853682..92de5d45c 100755 --- a/tests/du/trailing-slash +++ b/tests/du/trailing-slash @@ -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 diff --git a/tests/du/two-args b/tests/du/two-args index 5cb875ff0..2b25bf535 100755 --- a/tests/du/two-args +++ b/tests/du/two-args @@ -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 |