changeset 52016:92a708af7b05

tests: cleanup some special casing of `seq` emitting '\r\n' My guess is these predate the commit referenced in the previous commit.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 07 Oct 2024 17:26:31 -0400
parents 2924676d4728
children d8b981968a55
files tests/test-split.t tests/test-tools.t
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-split.t	Mon Oct 07 16:20:07 2024 -0400
+++ b/tests/test-split.t	Mon Oct 07 17:26:31 2024 -0400
@@ -65,7 +65,7 @@
 Generate some content.  The sed filter drop CR on Windows, which is dropped in
 the a > b line.
 
-  $ $TESTDIR/seq.py 1 5 | sed 's/\r$//' >> a
+  $ $TESTDIR/seq.py 1 5 >> a
   $ hg ci -m a1 -A a -q
   $ hg bookmark -i r1
   $ sed 's/1/11/;s/3/33/;s/5/55/' a > b
--- a/tests/test-tools.t	Mon Oct 07 16:20:07 2024 -0400
+++ b/tests/test-tools.t	Mon Oct 07 17:26:31 2024 -0400
@@ -51,12 +51,7 @@
   foo: mode=644
 #endif
 
-#if no-windows
   $ "$PYTHON" $TESTDIR/seq.py 10 > bar
-#else
-Convert CRLF -> LF for consistency
-  $ "$PYTHON" $TESTDIR/seq.py 10 | sed "s/$//" > bar
-#endif
 
 #if unix-permissions symlink
   $ chmod +x bar