From 554caaf6ffc721fe83debe0eb5e555136b01f0bb Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 4 Aug 2011 20:52:31 +0200 Subject: 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. --- tests/rm/r-3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/rm/r-3') diff --git a/tests/rm/r-3 b/tests/rm/r-3 index 5372046f6..e47ee093e 100755 --- a/tests/rm/r-3 +++ b/tests/rm/r-3 @@ -26,8 +26,8 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ rm -mkdir t || framework_failure -cd t || framework_failure +mkdir t || framework_failure_ +cd t || framework_failure_ # Create 500 files (20 * 25). for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j; do @@ -35,12 +35,12 @@ for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j; do for j in a b c d e f g h i j k l m n o p q r s t u v w x y; do files="$files $i$j" done - touch $files || framework_failure + touch $files || framework_failure_ done -test -f 0a || framework_failure -test -f by || framework_failure -cd .. || framework_failure +test -f 0a || framework_failure_ +test -f by || framework_failure_ +cd .. || framework_failure_ rm -rf t || fail=1 test -d t && fail=1 -- cgit v1.2.3-54-g00ecf