GNU bug report logs - #23335
[PATCH 1/2] tests: Added two new tests for unexpand from TODO

Previous Next

Package: coreutils;

Reported by: Jonathan Buchanan <jonathan.russ.buchanan <at> gmail.com>

Date: Fri, 22 Apr 2016 01:15:01 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Buchanan <jonathan.russ.buchanan <at> gmail.com>
To: bug-coreutils <at> gnu.org
Cc: Jonathan Buchanan <jonathan.russ.buchanan <at> gmail.com>
Subject: [PATCH 1/2] tests: Added two new tests for unexpand from TODO
Date: Thu, 21 Apr 2016 20:33:35 -0400
* tests/misc/unexpand.pl: Added two tests from TODO that should pass
according to the specification but currently do not pass.
---
 tests/misc/unexpand.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/misc/unexpand.pl b/tests/misc/unexpand.pl
index c592c5a..2cd84a1 100755
--- a/tests/misc/unexpand.pl
+++ b/tests/misc/unexpand.pl
@@ -48,6 +48,8 @@ my @Tests =
      ['aa-8', '-a', {IN=> 'w'.' 'x 8 ."y\n"}, {OUT=> "w\t y\n"}],
 
      ['b-1', '-t', '2,4', {IN=> "      ."}, {OUT=>"\t\t  ."}],
+     ['b-2', '-t', '8,9', {IN=> "x\t \t y\n"}, {OUT=>"x\t \t y\n"}],
+     ['b-3', '-t', '5,8', {IN=> "x\t \t y\n"}, {OUT=>"x\ty\n"}],
      # These would infloop prior to textutils-2.0d.
 
      ['infloop-1', '-t', '1,2', {IN=> " \t\t .\n"}, {OUT=>"\t\t\t .\n"}],
-- 
2.8.0





This bug report was last modified 9 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.