diff options
author | Jim Meyering <meyering@redhat.com> | 2011-05-13 18:36:29 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-05-13 18:38:52 +0200 |
commit | 89d542f3d8fc97b3f9c45ad5beee9afdb68da152 (patch) | |
tree | 5026c2a9ec8bec45b56b405440b1f1aa4f275d01 /tests/cp | |
parent | a085b6fc6c8fa03dac20f01f2f2b64b50b8bdf66 (diff) | |
download | coreutils-89d542f3d8fc97b3f9c45ad5beee9afdb68da152.tar.xz |
tests: use skip_test_, not skip_
skip_test_ emits its diagnostic both to FD 9 (tty), and to
FD 2 (usually the log file), whereas init.sh's skip_ emits
only to FD 9. Without that, the log is slightly less useful.
* tests/cp/fiemap-2: Use skip_test_, not skip_.
* tests/cp/fiemap-perf: Likewise.
* tests/du/bigtime: Likewise.
* tests/du/files0-from-dir: Likewise.
* tests/du/move-dir-while-traversing: Likewise.
* tests/init.sh: Likewise.
* tests/misc/sort-stale-thread-mem: Likewise.
* tests/misc/stat-nanoseconds: Likewise.
* tests/mv/i-3: Likewise.
* tests/mv/sticky-to-xpart: Likewise.
* tests/split/filter: Likewise.
Prompted by a report from Pádraig Brady.
Diffstat (limited to 'tests/cp')
-rwxr-xr-x | tests/cp/fiemap-2 | 2 | ||||
-rwxr-xr-x | tests/cp/fiemap-perf | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/cp/fiemap-2 b/tests/cp/fiemap-2 index 691ead255..76edd4830 100755 --- a/tests/cp/fiemap-2 +++ b/tests/cp/fiemap-2 @@ -22,7 +22,7 @@ print_ver_ cp # Require a fiemap-enabled FS. touch fiemap_chk # check a file rather than current dir for best coverage fiemap_capable_ fiemap_chk \ - || skip_ "this file system lacks FIEMAP support" + || skip_test_ "this file system lacks FIEMAP support" # Exercise the code that handles a file ending in a hole. printf x > k || framework_failure_ diff --git a/tests/cp/fiemap-perf b/tests/cp/fiemap-perf index c88e8eca8..2c56fc81e 100755 --- a/tests/cp/fiemap-perf +++ b/tests/cp/fiemap-perf @@ -22,12 +22,12 @@ print_ver_ cp # Require a fiemap-enabled FS. touch fiemap_chk fiemap_capable_ fiemap_chk || - skip_ "this file system lacks FIEMAP support" + skip_test_ "this file system lacks FIEMAP support" # Exclude ext3 (or unknown fs types) # as the emulated extent scanning is slow df -t ext3 . >/dev/null && - skip_ "ext3 has known slow FIEMAP scanning" + skip_test_ "ext3 has known slow FIEMAP scanning" # Create a large-but-sparse file. timeout 10 truncate -s1T f || framework_failure_ |