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/chown | |
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/chown')
-rwxr-xr-x | tests/chown/basic | 2 | ||||
-rwxr-xr-x | tests/chown/deref | 2 | ||||
-rwxr-xr-x | tests/chown/separator | 16 |
3 files changed, 10 insertions, 10 deletions
diff --git a/tests/chown/basic b/tests/chown/basic index 5626029ae..102f17c79 100755 --- a/tests/chown/basic +++ b/tests/chown/basic @@ -20,7 +20,7 @@ print_ver_ chgrp require_root_ -touch f || framework_failure +touch f || framework_failure_ chown -R --preserve-root 0:1 f diff --git a/tests/chown/deref b/tests/chown/deref index fbe71c7b0..c228bde80 100755 --- a/tests/chown/deref +++ b/tests/chown/deref @@ -20,7 +20,7 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ chown -ln -s no-such dangle || framework_failure +ln -s no-such dangle || framework_failure_ set _ `ls -ldo dangle`; shift; user=$3 diff --git a/tests/chown/separator b/tests/chown/separator index c10c5d909..147544b43 100755 --- a/tests/chown/separator +++ b/tests/chown/separator @@ -19,17 +19,17 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ chown -id_u=`id -u` || framework_failure -test -n "$id_u" || framework_failure +id_u=`id -u` || framework_failure_ +test -n "$id_u" || framework_failure_ -id_un=`id -un` || framework_failure -test -n "$id_un" || framework_failure +id_un=`id -un` || framework_failure_ +test -n "$id_un" || framework_failure_ -id_g=`id -g` || framework_failure -test -n "$id_g" || framework_failure +id_g=`id -g` || framework_failure_ +test -n "$id_g" || framework_failure_ -id_gn=`id -gn` || framework_failure -test -n "$id_gn" || framework_failure +id_gn=`id -gn` || framework_failure_ +test -n "$id_gn" || framework_failure_ # FreeBSD 6.x's getgrnam fails to look up a group name containing # a space. On such a system, skip this test if the group name contains |