summaryrefslogtreecommitdiff
path: root/tests/touch
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-14 16:22:41 +0200
committerJim Meyering <meyering@redhat.com>2011-06-17 09:17:37 +0200
commit2e580ca741b83202e6b22e0bb58b18101a443bd8 (patch)
tree790f68faa9a1d05898f71be8bdeee1b574ec2bb2 /tests/touch
parent13672ec3211a5a77caf16dc24b83100d57e2a2ec (diff)
downloadcoreutils-2e580ca741b83202e6b22e0bb58b18101a443bd8.tar.xz
tests: remove skip_test_ function; use new skip_ instead
* tests/init.cfg (skip_test_): Remove function. Use skip_ in place of skip_test_ everywhere else. * cfg.mk (sc_prohibit_skip_): Remove rule. * tests/**: Use skip_, not skip_test_, everywhere.
Diffstat (limited to 'tests/touch')
-rwxr-xr-xtests/touch/dangling-symlink2
-rwxr-xr-xtests/touch/no-dereference4
-rwxr-xr-xtests/touch/not-owner4
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/touch/dangling-symlink b/tests/touch/dangling-symlink
index dfde5c1bc..27534da93 100755
--- a/tests/touch/dangling-symlink
+++ b/tests/touch/dangling-symlink
@@ -34,7 +34,7 @@ if test $fail = 1; then
*linux-gnu*)
case "`uname -r`" in
2.3.9[0-9]*)
- skip_test_ \
+ skip_ \
'****************************************************
WARNING!!!
This version of the Linux kernel causes touch to fail
diff --git a/tests/touch/no-dereference b/tests/touch/no-dereference
index 6d138114c..b73274627 100755
--- a/tests/touch/no-dereference
+++ b/tests/touch/no-dereference
@@ -41,7 +41,7 @@ test -f nowhere && fail=1
# The remaining tests of -h require kernel support for changing symlink times.
grep '^#define HAVE_UTIMENSAT 1' "$CONFIG_HEADER" > /dev/null ||
grep '^#define HAVE_LUTIMES 1' "$CONFIG_HEADER" > /dev/null ||
- skip_test_ 'this system lacks the utimensat function'
+ skip_ 'this system lacks the utimensat function'
# Changing time of dangling symlink is okay.
# Skip the test if this fails, but the error text corresponds to
@@ -51,7 +51,7 @@ case $? in
0) test -f nowhere && fail=1
test -s err && fail=1;;
1) grep 'Function not implemented' err \
- && skip_test_ 'this system lacks the utimensat function'
+ && skip_ 'this system lacks the utimensat function'
fail=1;;
*) fail=1;;
esac
diff --git a/tests/touch/not-owner b/tests/touch/not-owner
index 953e76b28..1166c1608 100755
--- a/tests/touch/not-owner
+++ b/tests/touch/not-owner
@@ -21,11 +21,11 @@
print_ver_ touch
if env -- test -w /; then
- skip_test_ you have write access to /.
+ skip_ you have write access to /.
fi
if env -- test -O / || env -- test -G /; then
- skip_test_ "you own /."
+ skip_ "you own /."
fi
skip_if_root_