tests: cleanup some special casing of `seq` emitting '\r\n'
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 07 Oct 2024 17:26:31 -0400
changeset 51986 92a708af7b05
parent 51985 2924676d4728
child 51987 d8b981968a55
tests: cleanup some special casing of `seq` emitting '\r\n' My guess is these predate the commit referenced in the previous commit.
tests/test-split.t
tests/test-tools.t
--- 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