diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-14 16:22:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-06-17 09:17:37 +0200 |
commit | 2e580ca741b83202e6b22e0bb58b18101a443bd8 (patch) | |
tree | 790f68faa9a1d05898f71be8bdeee1b574ec2bb2 /tests/cp/fiemap-empty | |
parent | 13672ec3211a5a77caf16dc24b83100d57e2a2ec (diff) | |
download | coreutils-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/cp/fiemap-empty')
-rwxr-xr-x | tests/cp/fiemap-empty | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cp/fiemap-empty b/tests/cp/fiemap-empty index 836668ef7..095d1b7c3 100755 --- a/tests/cp/fiemap-empty +++ b/tests/cp/fiemap-empty @@ -22,18 +22,18 @@ print_ver_ cp # FIXME: enable any part of this test that is still relevant, # or, if none are relevant (now that cp does not handle unwritten # extents), just remove the test altogether. -skip_test_ 'disabled for now' +skip_ 'disabled for now' touch fiemap_chk fiemap_capable_ fiemap_chk || - skip_test_ 'this file system lacks FIEMAP support' + skip_ 'this file system lacks FIEMAP support' rm fiemap_chk # TODO: rather than requiring `fallocate`, possible add # this functionality to truncate --alloc -fallocate --help >/dev/null || skip_test_ 'The fallocate utility is required' +fallocate --help >/dev/null || skip_ 'The fallocate utility is required' fallocate -l 1 -n falloc.test || - skip_test_ 'this file system lacks FALLOCATE support' + skip_ 'this file system lacks FALLOCATE support' rm falloc.test # Require more space than we'll actually use, so that @@ -44,13 +44,13 @@ rm falloc.test require_file_system_bytes_free_ 800000000 fallocate -l 600MiB space.test || - skip_test_ 'this test needs at least 600MiB free space' + skip_ 'this test needs at least 600MiB free space' # Disable this test on old BTRFS (e.g. Fedora 14) # which reports ordinary extents for unwritten ones. -filefrag space.test || skip_test_ 'the `filefrag` utility is missing' +filefrag space.test || skip_ 'the `filefrag` utility is missing' filefrag -v space.test | grep -F 'unwritten' > /dev/null || - skip_test_ 'this file system does not report empty extents as "unwritten"' + skip_ 'this file system does not report empty extents as "unwritten"' rm space.test |