Fossil SCM

Fixing the merge5 test, for it to run when out of a checkout. The same kind of fix as [0a7ab3ccb0].

viriketo 2011-10-14 19:46 UTC declined
Commit e46be99ff4fdd58089d8652e81e32bb9a3c733f0
1 file changed +1 -1
--- test/merge5.test
+++ test/merge5.test
@@ -38,11 +38,11 @@
3838
}
3939
}
4040
4141
catch {exec $::fossilexe info} res
4242
puts res=$res
43
-if {![regexp {not within an open checkout} $res]} {
43
+if {![regexp {use --repository} $res]} {
4444
puts stderr "Cannot run this test within an open checkout"
4545
return
4646
}
4747
4848
# Construct a test repository
4949
--- test/merge5.test
+++ test/merge5.test
@@ -38,11 +38,11 @@
38 }
39 }
40
41 catch {exec $::fossilexe info} res
42 puts res=$res
43 if {![regexp {not within an open checkout} $res]} {
44 puts stderr "Cannot run this test within an open checkout"
45 return
46 }
47
48 # Construct a test repository
49
--- test/merge5.test
+++ test/merge5.test
@@ -38,11 +38,11 @@
38 }
39 }
40
41 catch {exec $::fossilexe info} res
42 puts res=$res
43 if {![regexp {use --repository} $res]} {
44 puts stderr "Cannot run this test within an open checkout"
45 return
46 }
47
48 # Construct a test repository
49

Keyboard Shortcuts

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