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.
Commit
06fdea59987b9d2b92a5e041b38cf238cb626f1e
Parent
edd288b7d075485…
1 file changed
+1
-1
+1
-1
| --- test/amend.test | ||
| +++ test/amend.test | ||
| @@ -259,11 +259,11 @@ | ||
| 259 | 259 | [string match "*comment:*Create*new*branch*named*\"cllf\"*" $RESULT] |
| 260 | 260 | } |
| 261 | 261 | fossil tag ls --raw $UUIDC |
| 262 | 262 | test amend-close-1.2 {[string first "closed" $RESULT] != -1} |
| 263 | 263 | 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]} | |
| 265 | 265 | write_file datafile "cllf" |
| 266 | 266 | fossil commit -m "should fail" -expectError |
| 267 | 267 | test amend-close-2 {[string first "closed leaf" $RESULT] != -1} |
| 268 | 268 | |
| 269 | 269 | set UUID3 UUID3 |
| 270 | 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 {*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 |