@@ -125,22 +125,46 @@ $t.test(‘exit code on new revision is 125’,
125
125
# Custom starting points
126
126
127
127
$ t . test(‘ custom starting points’ ,
128
- ‘ bisect: old=2016.02 new 2016.03 say (^∞).grep({ last })[5]’ ,
128
+ ‘ bisect: old=2016.02 new 2016.03 say (^∞).grep({ last })[5]’ ,
129
129
“ { $ t . our-nick} , Bisecting by output (old=2016.02 new=2016.03) because on both starting points the exit code is 0” ,
130
130
“ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
131
131
“ { $ t . our-nick} , (2016-03-18) https://github.com/rakudo/rakudo/commit/6d120cab6d0bf55a3c96fd3bd9c2e841e7eb99b0” );
132
132
133
133
$ t . test(‘ custom starting points using “bad” and “good” terms’ ,
134
- ‘ bisect: good 2016.02 bad=2016.03 say (^∞).grep({ last })[5]’ ,
134
+ ‘ bisect: good 2016.02 bad=2016.03 say (^∞).grep({ last })[5]’ ,
135
135
“ { $ t . our-nick} , Bisecting by output (old=2016.02 new=2016.03) because on both starting points the exit code is 0” ,
136
136
“ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
137
137
“ { $ t . our-nick} , (2016-03-18) https://github.com/rakudo/rakudo/commit/6d120cab6d0bf55a3c96fd3bd9c2e841e7eb99b0” );
138
138
139
139
$ t . test(‘ swapped old and new revisions’ ,
140
- ‘ bisect: old 2016.03 new 2016.02 say (^∞).grep({ last })[5]’ ,
140
+ ‘ bisect: old 2016.03 new 2016.02 say (^∞).grep({ last })[5]’ ,
141
141
“ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
142
142
“ { $ t . our-nick} , bisect init failure. See the log for more details” );
143
143
144
+ $ t . test(‘ mixed case “old”/“new”’ ,
145
+ ‘ bisect: oLD 2016.02 NeW = 2016.03 say (^∞).grep({ last })[5]’ ,
146
+ “ { $ t . our-nick} , Bisecting by output (old=2016.02 new=2016.03) because on both starting points the exit code is 0” ,
147
+ “ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
148
+ “ { $ t . our-nick} , (2016-03-18) https://github.com/rakudo/rakudo/commit/6d120cab6d0bf55a3c96fd3bd9c2e841e7eb99b0” );
149
+
150
+ $ t . test(‘ comma to separate old=/new=’ ,
151
+ ‘ bisect: old 2016.02, new= 2016.03 say (^∞).grep({ last })[5]’ ,
152
+ “ { $ t . our-nick} , Bisecting by output (old=2016.02 new=2016.03) because on both starting points the exit code is 0” ,
153
+ “ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
154
+ “ { $ t . our-nick} , (2016-03-18) https://github.com/rakudo/rakudo/commit/6d120cab6d0bf55a3c96fd3bd9c2e841e7eb99b0” );
155
+
156
+ $ t . test(‘ mixed term styles’ ,
157
+ ‘ bisect: old =2016.02 , bad= 2016.03 say (^∞).grep({ last })[5]’ ,
158
+ “ { $ t . our-nick} , Bisecting by output (old=2016.02 new=2016.03) because on both starting points the exit code is 0” ,
159
+ “ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
160
+ “ { $ t . our-nick} , (2016-03-18) https://github.com/rakudo/rakudo/commit/6d120cab6d0bf55a3c96fd3bd9c2e841e7eb99b0” );
161
+
162
+ $ t . test(‘ mixed term styles’ ,
163
+ ‘ bisect: good 2016.02,new 2016.03 say (^∞).grep({ last })[5]’ ,
164
+ “ { $ t . our-nick} , Bisecting by output (old=2016.02 new=2016.03) because on both starting points the exit code is 0” ,
165
+ “ { $ t . our-nick} , bisect log: https://whatever.able/fakeupload” ,
166
+ “ { $ t . our-nick} , (2016-03-18) https://github.com/rakudo/rakudo/commit/6d120cab6d0bf55a3c96fd3bd9c2e841e7eb99b0” );
167
+
144
168
# Special characters
145
169
#`{ What should we do with colors?
146
170
$t.test(‘special characters’,
@@ -195,7 +219,7 @@ $t.test(‘Did you mean some commit? (old)’,
195
219
196
220
$ t . test(: 21 timeout, ‘ timeout’ ,
197
221
‘ bisect: say ‘Zzzz…’; sleep ∞’ ,
198
- /^ <me ($ t )>‘, On both starting points (old=2015.12 new=9d7c0ab ) the exit code is 0, exit signal is 1 (SIGHUP) and the output is identical as well’ $ /,
222
+ /^ <me ($ t )>‘, On both starting points (old=2015.12 new=’ < sha > ‘ ) the exit code is 0, exit signal is 1 (SIGHUP) and the output is identical as well’ $ /,
199
223
“ { $ t . our-nick} , Output on both points: «Zzzz…«timed out after 10 seconds»»” );
200
224
201
225
# TODO test timeouts during bisection
0 commit comments