]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: test numfmt stdin behavior
authorPádraig Brady <P@draigBrady.com>
Wed, 2 Sep 2015 23:34:27 +0000 (00:34 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 3 Sep 2015 00:11:39 +0000 (01:11 +0100)
* tests/misc/tty-eof.pl: Add numfmt to the list of programs
that accept input on stdin.

tests/misc/tty-eof.pl

index 1bd9124606e24d074355d3fd945814a4f54eef01..c1b4b785f1a0f8b248ac2fbc649065ee266e3d90 100755 (executable)
@@ -63,7 +63,8 @@ $@
     wc
   );
   my $stderr = 'tty-eof.err';
-  foreach my $cmd ((@stdin_reading_commands), 'cut -f2')
+  foreach my $cmd ((@stdin_reading_commands), 'cut -f2',
+                   'numfmt --invalid=ignore')
     {
       my $exp = new Expect;
       $exp->log_user(0);