summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-20 21:50:43 +0200
committerJim Meyering <meyering@redhat.com>2007-10-21 14:01:28 +0200
commitc365bafa815695e187089ab711eca4ca55282b0d (patch)
tree1f3c4be817bd4f4887232d54ac822ec8e1d485ab
parentb1ab7101aab74733267aee82c714573ae887dd91 (diff)
downloadcoreutils-c365bafa815695e187089ab711eca4ca55282b0d.tar.xz
* tests/misc/help-version: Add a comment.
Signed-off-by: Jim Meyering <meyering@redhat.com>
-rw-r--r--ChangeLog2
-rwxr-xr-xtests/misc/help-version2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fdbabe826..2d73177f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2007-10-20 Jim Meyering <meyering@redhat.com>
+ * tests/misc/help-version: Add a comment.
+
Detect printf(3) failure due to ENOMEM.
* src/printf.c: Include "xprintf.h"
(print_direc): Use xprintf, rather than printf.
diff --git a/tests/misc/help-version b/tests/misc/help-version
index 071d83f3b..6da675f38 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -200,6 +200,8 @@ stat_args=$tmp_in
unlink_args=$tmp_in
lbracket_args=": ]"
+# Ensure that each program "works" (exits successfully) when doing
+# something more than --help or --version.
for i in $built_programs; do
# Skip these.
case $i in chroot|stty|tty|false|chcon|runcon) continue;; esac