Fossil SCM
Fixing the merge_renames test, so it accepts being called out of a repository. The message given by fossil when trying 'info' out of a repository had changed.
Commit
0a7ab3ccb09e2fd4882afa3764080111c5b3075a
Parent
79c31f9b73aeb19…
1 file changed
+1
-1
+1
-1
| --- test/merge_renames.test | ||
| +++ test/merge_renames.test | ||
| @@ -3,11 +3,11 @@ | ||
| 3 | 3 | # |
| 4 | 4 | # |
| 5 | 5 | |
| 6 | 6 | catch {exec $::fossilexe info} res |
| 7 | 7 | puts res=$res |
| 8 | -if {![regexp {not within an open checkout} $res]} { | |
| 8 | +if {![regexp {use --repository} $res]} { | |
| 9 | 9 | puts stderr "Cannot run this test within an open checkout" |
| 10 | 10 | return |
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | ###################################### |
| 14 | 14 |
| --- test/merge_renames.test | |
| +++ test/merge_renames.test | |
| @@ -3,11 +3,11 @@ | |
| 3 | # |
| 4 | # |
| 5 | |
| 6 | catch {exec $::fossilexe info} res |
| 7 | puts res=$res |
| 8 | if {![regexp {not within an open checkout} $res]} { |
| 9 | puts stderr "Cannot run this test within an open checkout" |
| 10 | return |
| 11 | } |
| 12 | |
| 13 | ###################################### |
| 14 |
| --- test/merge_renames.test | |
| +++ test/merge_renames.test | |
| @@ -3,11 +3,11 @@ | |
| 3 | # |
| 4 | # |
| 5 | |
| 6 | catch {exec $::fossilexe info} res |
| 7 | puts res=$res |
| 8 | if {![regexp {use --repository} $res]} { |
| 9 | puts stderr "Cannot run this test within an open checkout" |
| 10 | return |
| 11 | } |
| 12 | |
| 13 | ###################################### |
| 14 |