]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: add new stdin reading programs to tty-eof test
authorPádraig Brady <P@draigBrady.com>
Tue, 7 Sep 2021 13:35:45 +0000 (14:35 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 9 Sep 2021 20:35:52 +0000 (21:35 +0100)
* tests/misc/tty-eof.pl: Add b2sum and basenc.

tests/misc/tty-eof.pl

index a55b9c8ae0ba373d2171a9edbc8434147c9686d1..a88d18fa90374d8b8075e86af84a519625e3912c 100755 (executable)
@@ -31,6 +31,7 @@ $@
 {
   my $fail = 0;
   my @stdin_reading_commands = qw(
+    b2sum
     base32
     base64
     cat
@@ -63,7 +64,7 @@ $@
     wc
   );
   my $stderr = 'tty-eof.err';
-  foreach my $cmd ((@stdin_reading_commands), 'cut -f2',
+  foreach my $cmd ((@stdin_reading_commands), 'basenc --z85', 'cut -f2',
                    'numfmt --invalid=ignore')
     {
       my $exp = new Expect;