summaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-13 18:36:29 +0200
committerJim Meyering <meyering@redhat.com>2011-05-13 18:38:52 +0200
commit89d542f3d8fc97b3f9c45ad5beee9afdb68da152 (patch)
tree5026c2a9ec8bec45b56b405440b1f1aa4f275d01 /tests/init.sh
parenta085b6fc6c8fa03dac20f01f2f2b64b50b8bdf66 (diff)
downloadcoreutils-89d542f3d8fc97b3f9c45ad5beee9afdb68da152.tar.gz
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/init.sh')
-rw-r--r--tests/init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 71c651696..14f2e26e0 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -32,7 +32,7 @@
# or perhaps export PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH"
# to all tests via automake's TESTS_ENVIRONMENT.
# Set the exit code 0 for success, 77 for skipped, or 1 or other for failure.
-# Use the skip_ and fail_ functions to print a diagnostic and then exit
+# Use the skip_test_ and fail_ functions to print a diagnostic and then exit
# with the corresponding exit code.
# Exit $?
@@ -148,7 +148,7 @@ else
# If we've made it all the way to the sentinel, "fail" without
# finding even a marginal shell, skip this test.
if test "$re_shell_" = fail; then
- test -z "$marginal_" && skip_ failed to find an adequate shell
+ test -z "$marginal_" && skip_test_ failed to find an adequate shell
re_shell_=$marginal_
break
fi