summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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