summaryrefslogtreecommitdiff
path: root/tests/chmod
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-27 13:45:44 +0200
committerJim Meyering <meyering@redhat.com>2008-05-27 13:48:32 +0200
commit00a309823501317f9061a28e98cc13177bc4a12a (patch)
treedbfff1a02de790d3585e296a2141369adcdaa5de /tests/chmod
parentc6c9e8730e23af5d96a3b25331b0510112422abb (diff)
downloadcoreutils-00a309823501317f9061a28e98cc13177bc4a12a.tar.xz
in 280+ tests/* files, use $srcdir, not $top_srcdir/tests
Diffstat (limited to 'tests/chmod')
-rwxr-xr-xtests/chmod/c-option2
-rwxr-xr-xtests/chmod/equal-x2
-rwxr-xr-xtests/chmod/equals2
-rwxr-xr-xtests/chmod/inaccessible2
-rwxr-xr-xtests/chmod/no-x2
-rwxr-xr-xtests/chmod/octal2
-rwxr-xr-xtests/chmod/setgid2
-rwxr-xr-xtests/chmod/thru-dangling2
-rwxr-xr-xtests/chmod/umask-x2
-rwxr-xr-xtests/chmod/usage2
10 files changed, 10 insertions, 10 deletions
diff --git a/tests/chmod/c-option b/tests/chmod/c-option
index 461b6faa2..42da4b209 100755
--- a/tests/chmod/c-option
+++ b/tests/chmod/c-option
@@ -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
diff --git a/tests/chmod/equal-x b/tests/chmod/equal-x
index 6400d029a..06c53c669 100755
--- a/tests/chmod/equal-x
+++ b/tests/chmod/equal-x
@@ -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
diff --git a/tests/chmod/equals b/tests/chmod/equals
index 7ad2793e1..9aca394c4 100755
--- a/tests/chmod/equals
+++ b/tests/chmod/equals
@@ -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
diff --git a/tests/chmod/inaccessible b/tests/chmod/inaccessible
index 6e8744dbb..70cdc9bff 100755
--- a/tests/chmod/inaccessible
+++ b/tests/chmod/inaccessible
@@ -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
diff --git a/tests/chmod/no-x b/tests/chmod/no-x
index 336041ce2..b65295bd8 100755
--- a/tests/chmod/no-x
+++ b/tests/chmod/no-x
@@ -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
diff --git a/tests/chmod/octal b/tests/chmod/octal
index 32c55120c..a7ddb4503 100755
--- a/tests/chmod/octal
+++ b/tests/chmod/octal
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
chmod --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0
diff --git a/tests/chmod/setgid b/tests/chmod/setgid
index c156354b8..30e92f05a 100755
--- a/tests/chmod/setgid
+++ b/tests/chmod/setgid
@@ -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
diff --git a/tests/chmod/thru-dangling b/tests/chmod/thru-dangling
index 0924b4779..055f9c59c 100755
--- a/tests/chmod/thru-dangling
+++ b/tests/chmod/thru-dangling
@@ -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
diff --git a/tests/chmod/umask-x b/tests/chmod/umask-x
index 1bc5033c6..13b6e9ac2 100755
--- a/tests/chmod/umask-x
+++ b/tests/chmod/umask-x
@@ -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
diff --git a/tests/chmod/usage b/tests/chmod/usage
index 9c867c06f..ba0ea7313 100755
--- a/tests/chmod/usage
+++ b/tests/chmod/usage
@@ -21,7 +21,7 @@ if test "$VERBOSE" = yes; then
chmod --version
fi
-. $top_srcdir/tests/test-lib.sh
+. $srcdir/test-lib.sh
fail=0