diff options
Diffstat (limited to 'tests/chown')
-rwxr-xr-x | tests/chown/basic | 2 | ||||
-rwxr-xr-x | tests/chown/deref | 2 | ||||
-rwxr-xr-x | tests/chown/preserve-root | 2 | ||||
-rwxr-xr-x | tests/chown/separator | 2 |
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 |