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/ln/hard-to-sym | |
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/ln/hard-to-sym')
-rwxr-xr-x | tests/ln/hard-to-sym | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ln/hard-to-sym b/tests/ln/hard-to-sym index 72d8e2734..64626f46c 100755 --- a/tests/ln/hard-to-sym +++ b/tests/ln/hard-to-sym @@ -22,7 +22,7 @@ print_ver_ ln # =================================================== # ensure -s silently overrides -L, -P -touch a || framework_failure +touch a || framework_failure_ ln -L -s a symlink1 || fail=1 ln -P -s symlink1 symlink2 || fail=1 ln -s -L -P symlink2 symlink3 || fail=1 @@ -34,7 +34,7 @@ ls=`ls -lG hard-to-a`x case "$ls" in *'hard-to-ax') ;; *'hard-to-a -> '*x) fail=1 ;; - *) framework_failure ;; + *) framework_failure_ ;; esac # =================================================== @@ -45,12 +45,12 @@ case "$ls" in *'hard-to-3 -> symlink2x') ;; *'hard-to-3x') fail=1 ;; *'hard-to-3 -> '*x) fail=1 ;; - *) framework_failure ;; + *) framework_failure_ ;; esac # =================================================== # Create a hard link to a dangling symlink. -ln -s /no-such-dir || framework_failure +ln -s /no-such-dir || framework_failure_ ln -L no-such-dir hard-to-dangle 2>err && fail=1 case `cat err` in *' accessing `no-such-dir'\':*) ;; @@ -60,8 +60,8 @@ ln -P no-such-dir hard-to-dangle || fail=1 # =================================================== # Create a hard link to a symlink to a directory. -mkdir d || framework_failure -ln -s d link-to-dir || framework_failure +mkdir d || framework_failure_ +ln -s d link-to-dir || framework_failure_ ln -L link-to-dir hard-to-dir-link 2>err && fail=1 case `cat err` in *': `link-to-dir'\'': hard link not allowed for directory'*) ;; |