source: tests/io/.expect/manipulatorsInput.x86.txt @ 8a33777

Last change on this file since 8a33777 was 8a33777, checked in by Michael Brooks <mlbrooks@…>, 5 months ago

Fix analysis error in string-input testing.

Add comments correlating .in file content with line of code that reads it.

This test's correctness expectation is bootstrapped from the actual behaviour of scanf.
A mistake in knowing "which character are we on at this point"
led to an inaccurate understanding of what scanf does on an edge case.
The test was showing that the CFA analogs behave the same as scanf.
But the test was not exercising the case that it suggested it was.
This issue is now fixed.

Old position, mistaken: case 14 begins on line ccccuuuucccc
Old position, corrected: cases 12/13 consume leading cccc; case 14 begins on uuuucccc
New positions: as commented in test .cfa

prior scanf understanding, mistaken: include skips unwanted characters before capturing
wanted characters, while exclude fails on unwanted characters

scanf understanding, corrected: include and exclude fail on unwanted characters

  • Property mode set to 100644
File size: 970 bytes
Line 
1pre1 "123456", canary ok
2pre2 "1234567", canary ok
3pre3a "1234567", exception occurred, canary ok
4pre3b "8", canary ok
5pre4a "1234567", exception occurred, canary ok
6pre4b "89", canary ok
71 yyyyyyyyyyyyyyyyyyyy
82 abcxxx
93 abcxxx
104 aaaaaaaa
115 aaaaaaaa
126 aabbccbb
137 dddwww
148 dddwww
159 dddwww
1610 aaaaaaaa
1711 wwwwwwww
1812 wwwwwwww
1913 wwwwwwww
2014 rc=0, q
2115 rc=0, q
2216 get this line
2317 @# this line 1)-{}
2418 abc
2519 abc 
2620  d d
27
28d
2921              ZC44%
301 yyyyyyyyyyyyyyyyyyyy
312 abcxxx
323 abcxxx
334 aaaaaaaa
345
356 aabbccbb
367 dddwww
378
389
3910 aaaaaaaa
4011 wwwwwwww
4112
4213
4314
4415
4516 get this line
4617 @# this line 1)-{}
4718 abc
4819 abc 
4920 d d
50
51d
5221              ZC44%
53a
54a
55-1
5615
5715
5815
59255
6015
6115
6215
63255
6415
6515
6615
67255
6815
6915
7015
71255
7215
7315
7415
75255
7615
7715
7815
79255
8015
8115
8215
83255
8415
8515
8615
87255
8815
8915
9015
91255
9215
9315
9415
953.5
96345.6
97345.6
98345.6
993.5
100345.6
101345.6
102345.6
1033.5
104345.6
105345.6
106345.6
1073.5+3.5i
108345.6+345.6i
109345.6+345.6i
110345.6+345.6i
1113.5+3.5i
112345.6+345.6i
113345.6+345.6i
114345.6+345.6i
1153.5+3.5i
116345.6+345.6i
117345.6+345.6i
118345.6+345.6i
Note: See TracBrowser for help on using the repository browser.