summaryrefslogtreecommitdiff
path: root/tests/chgrp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chgrp')
-rwxr-xr-xtests/chgrp/basic1
-rwxr-xr-xtests/chgrp/default-no-deref1
-rwxr-xr-xtests/chgrp/deref1
-rwxr-xr-xtests/chgrp/no-x1
-rwxr-xr-xtests/chgrp/posix-H1
-rwxr-xr-xtests/chgrp/recurse1
6 files changed, 0 insertions, 6 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic
index 2c0d7fae6..4fad17606 100755
--- a/tests/chgrp/basic
+++ b/tests/chgrp/basic
@@ -24,7 +24,6 @@ fi
. $srcdir/test-lib.sh
require_membership_in_two_groups_
-fail=0
set _ $groups; shift
g1=$1
diff --git a/tests/chgrp/default-no-deref b/tests/chgrp/default-no-deref
index fc378dec4..dc7e9d00a 100755
--- a/tests/chgrp/default-no-deref
+++ b/tests/chgrp/default-no-deref
@@ -29,7 +29,6 @@ g2=$2
mkdir d && touch f && ln -s ../f d/s || framework_failure
-fail=0
g_init=`stat --printf=%g f`
chgrp -R $g2 d || fail=1
diff --git a/tests/chgrp/deref b/tests/chgrp/deref
index d4f19ce71..1a20e05bf 100755
--- a/tests/chgrp/deref
+++ b/tests/chgrp/deref
@@ -38,7 +38,6 @@ test "$g" = $g2 ||
skip_test_ "your system doesn't support changing the owner or group" \
"of a symbolic link."
-fail=0
chgrp $g1 f
set _ `ls -ln f`; g=$5; test "$g" = $g1 || fail=1
diff --git a/tests/chgrp/no-x b/tests/chgrp/no-x
index 3ec49e9e7..175c1b2b8 100755
--- a/tests/chgrp/no-x
+++ b/tests/chgrp/no-x
@@ -33,7 +33,6 @@ g2=$2
mkdir -p d/no-x/y || framework_failure
chmod u=rw d/no-x || framework_failure
-fail=0
# This must exit nonzero.
chgrp -R $g2 d >/dev/null 2>out && fail=1
diff --git a/tests/chgrp/posix-H b/tests/chgrp/posix-H
index c24aa3f24..87295d4e6 100755
--- a/tests/chgrp/posix-H
+++ b/tests/chgrp/posix-H
@@ -34,7 +34,6 @@ ln -s 1 1s || framework_failure
ln -s ../3 2/2s || framework_failure
chgrp -R $g1 1 2 3 || framework_failure
-fail=0
chgrp --preserve-root -H -R $g2 1s 2 || fail=1
diff --git a/tests/chgrp/recurse b/tests/chgrp/recurse
index d29a65118..b0f2e2701 100755
--- a/tests/chgrp/recurse
+++ b/tests/chgrp/recurse
@@ -28,7 +28,6 @@ set _ $groups; shift
g1=$1
g2=$2
-fail=0
# chgrp -R should not traverse a symlink to a directory.
mkdir d e