summaryrefslogtreecommitdiff
path: root/tests/chown
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chown')
-rwxr-xr-xtests/chown/basic1
-rwxr-xr-xtests/chown/deref1
-rwxr-xr-xtests/chown/preserve-root1
-rwxr-xr-xtests/chown/separator1
4 files changed, 0 insertions, 4 deletions
diff --git a/tests/chown/basic b/tests/chown/basic
index 6708da0a9..95a9cd1d3 100755
--- a/tests/chown/basic
+++ b/tests/chown/basic
@@ -26,7 +26,6 @@ require_root_
touch f || framework_failure
-fail=0
chown -R --preserve-root 0:1 f
# Make sure the owner and group are 0 and 1 respectively.
diff --git a/tests/chown/deref b/tests/chown/deref
index 24d0f93e1..c609751de 100755
--- a/tests/chown/deref
+++ b/tests/chown/deref
@@ -26,7 +26,6 @@ fi
ln -s no-such dangle || framework_failure
-fail=0
set _ `ls -ldo dangle`; shift; user=$3
diff --git a/tests/chown/preserve-root b/tests/chown/preserve-root
index d33262047..f5c4fce3b 100755
--- a/tests/chown/preserve-root
+++ b/tests/chown/preserve-root
@@ -26,7 +26,6 @@ skip_if_root_
mkdir d && ln -s / d/slink-to-root
-fail=0
# Even if --preserve-root were to malfunction, allowing the chown or
# chgrp to traverse through "/", since we're running as non-root,
diff --git a/tests/chown/separator b/tests/chown/separator
index 4ee285647..6e717f695 100755
--- a/tests/chown/separator
+++ b/tests/chown/separator
@@ -46,7 +46,6 @@ case $host_triplet in
*) ;;
esac
-fail=0
chown '' . || fail=1