diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2011-08-04 20:52:31 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-08-08 10:11:48 +0200 |
commit | 554caaf6ffc721fe83debe0eb5e555136b01f0bb (patch) | |
tree | 3434c8a4fca2cdac2ec5fca8bd808bd17a6f4d30 /tests/chgrp | |
parent | 8e2767a3f0c279d355f067e53be2c63173959eb1 (diff) | |
download | coreutils-554caaf6ffc721fe83debe0eb5e555136b01f0bb.tar.xz |
tests: complete the renaming framework_failure -> framework_failure_
These changes were mostly mechanical, made by running the
following command:
git grep -lw framework_failure | grep -v ChangeLog \
| xargs perl -pi -e 's/\b(framework_failure)\b/${1}_/'
and then editing init.cfg and `tests/cp/cp-a-selinux' by hand.
* tests/init.cfg (framework_failure): Remove, `framework_failure_'
from init.sh should be used instead in the tests.
Remove now-obsolete "FIXME" comment.
(is_local_dir_, require_strace_, require_membership_in_two_groups_,
require_sparse_support_, skip_if_mcstransd_is_running_,
mkfifo_or_skip_) Use `framework_failure_', not `framework_failure'.
* Many test scripts: Likewise.
Diffstat (limited to 'tests/chgrp')
-rwxr-xr-x | tests/chgrp/default-no-deref | 2 | ||||
-rwxr-xr-x | tests/chgrp/no-x | 4 | ||||
-rwxr-xr-x | tests/chgrp/posix-H | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/chgrp/default-no-deref b/tests/chgrp/default-no-deref index 6f864f54d..3e31a2a66 100755 --- a/tests/chgrp/default-no-deref +++ b/tests/chgrp/default-no-deref @@ -23,7 +23,7 @@ require_membership_in_two_groups_ set _ $groups; shift g2=$2 -mkdir d && touch f && ln -s ../f d/s || framework_failure +mkdir d && touch f && ln -s ../f d/s || framework_failure_ g_init=`stat --printf=%g f` diff --git a/tests/chgrp/no-x b/tests/chgrp/no-x index 12235de63..2555c4532 100755 --- a/tests/chgrp/no-x +++ b/tests/chgrp/no-x @@ -26,8 +26,8 @@ set _ $groups; shift g1=$1 g2=$2 -mkdir -p d/no-x/y || framework_failure -chmod u=rw d/no-x || framework_failure +mkdir -p d/no-x/y || framework_failure_ +chmod u=rw d/no-x || framework_failure_ # This must exit nonzero. diff --git a/tests/chgrp/posix-H b/tests/chgrp/posix-H index 2ae2ff3c6..a0e6ff095 100755 --- a/tests/chgrp/posix-H +++ b/tests/chgrp/posix-H @@ -24,11 +24,11 @@ set _ $groups; shift g1=$1 g2=$2 -mkdir 1 2 3 || framework_failure -touch 1/1F 2/2F 3/3F || framework_failure -ln -s 1 1s || framework_failure -ln -s ../3 2/2s || framework_failure -chgrp -R $g1 1 2 3 || framework_failure +mkdir 1 2 3 || framework_failure_ +touch 1/1F 2/2F 3/3F || framework_failure_ +ln -s 1 1s || framework_failure_ +ln -s ../3 2/2s || framework_failure_ +chgrp -R $g1 1 2 3 || framework_failure_ chgrp --preserve-root -H -R $g2 1s 2 || fail=1 |