summaryrefslogtreecommitdiff
path: root/tests/misc/tty-eof
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/tty-eof')
-rwxr-xr-xtests/misc/tty-eof2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/tty-eof b/tests/misc/tty-eof
index 075a12717..75a86be06 100755
--- a/tests/misc/tty-eof
+++ b/tests/misc/tty-eof
@@ -13,6 +13,8 @@ esac
exec $PERL -w -- - <<\EOF
# Ensure that cat exits upon a single EOF (^D) from a tty.
+# Do the same for all programs that can read stdin,
+# requiring no arguments and that write to standard output.
use strict;
(my $ME = $0) =~ s|.*/||;