summaryrefslogtreecommitdiff
path: root/tests/chown
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chown')
-rwxr-xr-xtests/chown/basic.sh2
-rwxr-xr-xtests/chown/deref.sh2
-rwxr-xr-xtests/chown/preserve-root.sh2
-rwxr-xr-xtests/chown/separator.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/chown/basic.sh b/tests/chown/basic.sh
index 6225400e1..520941537 100755
--- a/tests/chown/basic.sh
+++ b/tests/chown/basic.sh
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ chown
require_root_
diff --git a/tests/chown/deref.sh b/tests/chown/deref.sh
index d42a05412..76de4b58a 100755
--- a/tests/chown/deref.sh
+++ b/tests/chown/deref.sh
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ chown
ln -s no-such dangle || framework_failure_
diff --git a/tests/chown/preserve-root.sh b/tests/chown/preserve-root.sh
index ffad22228..edeb56681 100755
--- a/tests/chown/preserve-root.sh
+++ b/tests/chown/preserve-root.sh
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ chown
skip_if_root_
diff --git a/tests/chown/separator.sh b/tests/chown/separator.sh
index d4264a8c8..132d8e975 100755
--- a/tests/chown/separator.sh
+++ b/tests/chown/separator.sh
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-. "${srcdir=.}/init.sh"; path_prepend_ ../src
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ chown
id_u=$(id -u) || framework_failure_