Fossil SCM

Fix regression to test case amend-close-1.3 caused by checkin [f4b5881b] which changed the commit message stored when marking a branch closed. The test case has been changed so that it passes.

rberteig 2016-09-27 07:14 trunk
Commit 06fdea59987b9d2b92a5e041b38cf238cb626f1e
1 file changed +1 -1
+1 -1
--- test/amend.test
+++ test/amend.test
@@ -259,11 +259,11 @@
259259
[string match "*comment:*Create*new*branch*named*\"cllf\"*" $RESULT]
260260
}
261261
fossil tag ls --raw $UUIDC
262262
test amend-close-1.2 {[string first "closed" $RESULT] != -1}
263263
fossil timeline -n 1
264
-test amend-close-1.3 {[string match {*Marked*"Closed".*} $RESULT]}
264
+test amend-close-1.3 {[string match {*Mark*"Closed".*} $RESULT]}
265265
write_file datafile "cllf"
266266
fossil commit -m "should fail" -expectError
267267
test amend-close-2 {[string first "closed leaf" $RESULT] != -1}
268268
269269
set UUID3 UUID3
270270
--- test/amend.test
+++ test/amend.test
@@ -259,11 +259,11 @@
259 [string match "*comment:*Create*new*branch*named*\"cllf\"*" $RESULT]
260 }
261 fossil tag ls --raw $UUIDC
262 test amend-close-1.2 {[string first "closed" $RESULT] != -1}
263 fossil timeline -n 1
264 test amend-close-1.3 {[string match {*Marked*"Closed".*} $RESULT]}
265 write_file datafile "cllf"
266 fossil commit -m "should fail" -expectError
267 test amend-close-2 {[string first "closed leaf" $RESULT] != -1}
268
269 set UUID3 UUID3
270
--- test/amend.test
+++ test/amend.test
@@ -259,11 +259,11 @@
259 [string match "*comment:*Create*new*branch*named*\"cllf\"*" $RESULT]
260 }
261 fossil tag ls --raw $UUIDC
262 test amend-close-1.2 {[string first "closed" $RESULT] != -1}
263 fossil timeline -n 1
264 test amend-close-1.3 {[string match {*Mark*"Closed".*} $RESULT]}
265 write_file datafile "cllf"
266 fossil commit -m "should fail" -expectError
267 test amend-close-2 {[string first "closed leaf" $RESULT] != -1}
268
269 set UUID3 UUID3
270

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button