summaryrefslogtreecommitdiff
path: root/tests/dd
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/dd
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/dd')
-rwxr-xr-xtests/dd/direct2
-rwxr-xr-xtests/dd/skip-seek-past-dev2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dd/direct b/tests/dd/direct
index 6d45ce25d..9350545a6 100755
--- a/tests/dd/direct
+++ b/tests/dd/direct
@@ -21,7 +21,7 @@ print_ver_ dd
truncate -s 8192 in || framework_failure
dd if=in oflag=direct of=out 2> /dev/null \
- || skip_test_ 'this file system lacks support for O_DIRECT'
+ || skip_ 'this file system lacks support for O_DIRECT'
truncate -s 511 short || framework_failure
truncate -s 8191 m1 || framework_failure
diff --git a/tests/dd/skip-seek-past-dev b/tests/dd/skip-seek-past-dev
index 59f229fac..a54e0106c 100755
--- a/tests/dd/skip-seek-past-dev
+++ b/tests/dd/skip-seek-past-dev
@@ -36,7 +36,7 @@ get_device_size() {
device=$(df -P . | tail -n1 | cut -d' ' -f1) || framework_failure
dev_size=$(get_device_size "$device") ||
- skip_test_ "failed to determine size of $device"
+ skip_ "failed to determine size of $device"
# Don't use shell arithmetic as older versions of dash use longs
DEV_OFLOW=$(expr $dev_size + 1)