summaryrefslogtreecommitdiff
path: root/tests/chown
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chown')
-rwxr-xr-xtests/chown/basic2
-rwxr-xr-xtests/chown/deref2
-rwxr-xr-xtests/chown/preserve-root2
-rwxr-xr-xtests/chown/separator2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/chown/basic b/tests/chown/basic
index fbe74a253..434a6bac2 100755
--- a/tests/chown/basic
+++ b/tests/chown/basic
@@ -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
diff --git a/tests/chown/deref b/tests/chown/deref
index b7688c355..4a46827c2 100755
--- a/tests/chown/deref
+++ b/tests/chown/deref
@@ -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
diff --git a/tests/chown/preserve-root b/tests/chown/preserve-root
index 9ec18f5b2..8e2923bf0 100755
--- a/tests/chown/preserve-root
+++ b/tests/chown/preserve-root
@@ -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
diff --git a/tests/chown/separator b/tests/chown/separator
index b409b0295..eaf27b6c7 100755
--- a/tests/chown/separator
+++ b/tests/chown/separator
@@ -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