summaryrefslogtreecommitdiff
path: root/tests/ls/readdir-mountpoint-inode
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/ls/readdir-mountpoint-inode
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/ls/readdir-mountpoint-inode')
-rwxr-xr-xtests/ls/readdir-mountpoint-inode6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ls/readdir-mountpoint-inode b/tests/ls/readdir-mountpoint-inode
index bd827acd5..83e67b0fc 100755
--- a/tests/ls/readdir-mountpoint-inode
+++ b/tests/ls/readdir-mountpoint-inode
@@ -23,7 +23,7 @@ print_ver_ ls
# potentially very many remote mounts.
mount_points=$(df --local -P 2>&1 | sed -n 's,.*[0-9]% \(/.\),\1,p')
test -z "$mount_points" &&
- skip_test_ "this test requires a non-root mount point"
+ skip_ "this test requires a non-root mount point"
# Given e.g., /dev/shm, produce the list of GNU ls options that
# let us list just that entry using readdir data from its parent:
@@ -50,8 +50,8 @@ inode_via_readdir()
mount_point=$1
base=$(basename $mount_point)
case $base in
- .*) skip_test_ 'mount point component starts with "."' ;;
- *[*?]*) skip_test_ 'mount point component contains "?" or "*"' ;;
+ .*) skip_ 'mount point component starts with "."' ;;
+ *[*?]*) skip_ 'mount point component contains "?" or "*"' ;;
esac
opts=$(ls_ignore_options "$base")
parent_dir=$(dirname $mount_point)