sapling/tests/test-seq.t
Phil Cohen 4d35b86799 tests: make seq.py output Unix line endings everywhere
Summary: Otherwise, tests that use seq.py to create files, like test-rebase-inmemory-abort-tool.t,  will end up with different content, and thus commit hashes, on Windows.

Reviewed By: quark-zju

Differential Revision: D8643553

fbshipit-source-id: 8bb533765f3f6bd794aa1f7ccaf754cfbe5c3bfb
2018-06-26 13:05:11 -07:00

21 lines
309 B
Raku

$ $TESTDIR/seq.py 1 10 > file
$ cat file
1
2
3
4
5
6
7
8
9
10
$ cat file | f --hexdump
0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.|
0010: 39 0a 31 30 0a |9.10.|
$ $TESTDIR/seq.py 0 0
0
$ $TESTDIR/seq.py 1
1