From 2e580ca741b83202e6b22e0bb58b18101a443bd8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 14 Jun 2011 16:22:41 +0200 Subject: 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. --- tests/touch/dangling-symlink | 2 +- tests/touch/no-dereference | 4 ++-- tests/touch/not-owner | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/touch') 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_ -- cgit v1.2.3-70-g09d2