Skip to content

Commit 9065160

Browse files
cswareethomson
authored andcommitted
crlf: script to generate expected crlf data for adding files to index
Include a shell script that will generate the expected data of OIDs and failures for calling git.git to capture its output as a test resource. Right now, there is no need to differentiate different systems as git behaves the same on all systems IIRC. Signed-off-by: Sven Strickroth <email@cs-ware.de>
1 parent c3169e6 commit 9065160

22 files changed

+232
-3
lines changed

tests/resources/crlf_data/README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
This test data was generated using the `tests/resources/generate_crlf.sh`
2-
script. Please see that script for usage information.
2+
(posix and windows directories) and `tests/resources/generate_crlf_checkin.sh`
3+
(checkin_results directory) scripts. Please see these scripts for usage information.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
crlf
2+
crlf
3+
crlf
4+
crlf
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
crlf
2+
crlf
3+
crlf
4+
crlf
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
lf
2+
lf
3+
lf
4+
lf
5+
lf
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
lf
2+
lf
3+
lf
4+
lf
5+
lf
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
one
2+
two
3+
three
4+
four
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
one
2+
two
3+
three
4+
four

tests/resources/crlf_data/checkin_input_files/binary-mixed-lf-cr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
one
2+
twothree
3+
four

tests/resources/crlf_data/checkin_input_files/binary-mixed-lf-cr-crlf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
one
2+
twothree
3+
four
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
⚽The rest is ASCII01.
2+
The rest is ASCII02.
3+
The rest is ASCII03.
4+
The rest is ASCII04.
5+
The rest is ASCII05.
6+
The rest is ASCII06.
7+
The rest is ASCII07.
8+
The rest is ASCII08.
9+
The rest is ASCII09.
10+
The rest is ASCII10.
11+
The rest is ASCII11.
12+
The rest is ASCII12.
13+
The rest is ASCII13.
14+
The rest is ASCII14.
15+
The rest is ASCII15.
16+
The rest is ASCII16.
17+
The rest is ASCII17.
18+
The rest is ASCII18.
19+
The rest is ASCII19.
20+
The rest is ASCII20.
21+
The rest is ASCII21.
22+
The rest is ASCII22.

0 commit comments

Comments
 (0)