[go: up one dir, main page]

Some regression tests fail if terminal is not exactly 80 columns due to "list" command truncation.

In the current git master branch of reposurgeon, regression tests using the "list" command may fail if the terminal is not exactly 80 columns, due to "list" truncating output to fit the terminal width. The "legacy" and "badsearch" tests both exhibit this behavior.

For example, in a 128-column terminal window:

$ make fi-regress-legacy
  legacy: Legacy-ID pattern-matching
--- legacy.chk  2020-04-04 05:50:58.864221346 +0000
+++ /tmp/regress46564   2020-04-04 06:12:46.208308959 +0000
@@ -1,7 +1,7 @@
 Initially no sourcetype is set, so =N should be empty
 []
 Expect 2 CVS results
-     2 2012-12-02T05:37:55Z     :2 6f600c An example dotted numeric 1.1 in a sen
+     2 2012-12-02T05:37:55Z     :2 6f600c An example dotted numeric 1.1 in a sentence.
      4 2012-12-02T05:39:18Z     :4 796ecf End-of-sentence CVS-style 1.1.
 Expect 4 SVN results
      6 2012-12-02T05:39:21Z     :6 6fb006 Subversion-style r123 in midsentence.
make: *** [fi-regress-legacy] Error 1