##// END OF EJS Templates
tests: fix for windows - slashes and no serve
Mads Kiilerich -
r18506:ef60083b stable
parent child Browse files
Show More
@@ -86,7 +86,7 b' attack /tmp/test'
86 $ hg manifest -r4
86 $ hg manifest -r4
87 /tmp/test
87 /tmp/test
88 $ hg update -Cr4
88 $ hg update -Cr4
89 abort: path contains illegal component: /tmp/test
89 abort: path contains illegal component: /tmp/test (glob)
90 [255]
90 [255]
91
91
92 $ cd ..
92 $ cd ..
@@ -46,10 +46,11 b' Missing arg:'
46
46
47 $ cd "$TESTTMP"
47 $ cd "$TESTTMP"
48
48
49 OSError ... and with filename even when it is empty
49 OSError "No such file or directory" / "The system cannot find the path
50 specified" should include filename even when it is empty
50
51
51 $ hg -R a archive ''
52 $ hg -R a archive ''
52 abort: No such file or directory: ''
53 abort: *: '' (glob)
53 [255]
54 [255]
54
55
55 #if no-outer-repo
56 #if no-outer-repo
@@ -87,7 +87,7 b' Implicit -R:'
87 abort: no repository found in '$TESTTMP' (.hg not found)!
87 abort: no repository found in '$TESTTMP' (.hg not found)!
88 [255]
88 [255]
89 $ hg -R b ann a/a
89 $ hg -R b ann a/a
90 abort: a/a not under root '$TESTTMP/b'
90 abort: a/a not under root '$TESTTMP/b' (glob)
91 [255]
91 [255]
92 $ hg log
92 $ hg log
93 abort: no repository found in '$TESTTMP' (.hg not found)!
93 abort: no repository found in '$TESTTMP' (.hg not found)!
@@ -1182,7 +1182,7 b' revert some files to an older revision'
1182 $ pwd
1182 $ pwd
1183 $TESTTMP/e
1183 $TESTTMP/e
1184 $ hg paths
1184 $ hg paths
1185 default = $TESTTMP/d
1185 default = $TESTTMP/d (glob)
1186
1186
1187 $ hg verify --large
1187 $ hg verify --large
1188 checking changesets
1188 checking changesets
@@ -1212,7 +1212,7 b' revert some files to an older revision'
1212 $ hg verify -q --large --lfc
1212 $ hg verify -q --large --lfc
1213 searching 1 changesets for largefiles
1213 searching 1 changesets for largefiles
1214 changeset 9:598410d3eb9a: sub/large4: contents differ
1214 changeset 9:598410d3eb9a: sub/large4: contents differ
1215 ($TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928:
1215 ($TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928: (glob)
1216 expected hash e166e74c7303192238d60af5a9c4ce9bef0b7928,
1216 expected hash e166e74c7303192238d60af5a9c4ce9bef0b7928,
1217 but got 1f19b76d5b3cad1472c87efb42b582c97e040060)
1217 but got 1f19b76d5b3cad1472c87efb42b582c97e040060)
1218 verified contents of 3 revisions of 3 largefiles
1218 verified contents of 3 revisions of 3 largefiles
@@ -1232,19 +1232,19 b' revert some files to an older revision'
1232 changeset 1:ce8896473775: large1 missing
1232 changeset 1:ce8896473775: large1 missing
1233 (looked for hash 5f78770c0e77ba4287ad6ef3071c9bf9c379742f)
1233 (looked for hash 5f78770c0e77ba4287ad6ef3071c9bf9c379742f)
1234 changeset 1:ce8896473775: sub/large2: contents differ
1234 changeset 1:ce8896473775: sub/large2: contents differ
1235 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4:
1235 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob)
1236 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1236 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1237 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1237 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1238 changeset 3:9e8fbc4bce62: large1: contents differ
1238 changeset 3:9e8fbc4bce62: large1: contents differ
1239 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4:
1239 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob)
1240 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1240 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1241 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1241 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1242 changeset 4:74c02385b94c: large3: contents differ
1242 changeset 4:74c02385b94c: large3: contents differ
1243 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4:
1243 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob)
1244 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1244 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1245 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1245 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1246 changeset 4:74c02385b94c: sub/large4: contents differ
1246 changeset 4:74c02385b94c: sub/large4: contents differ
1247 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4:
1247 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob)
1248 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1248 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4,
1249 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1249 but got cfef678f24d3e339944138ecdd8fd85ca21d820f)
1250 verified contents of 15 revisions of 6 largefiles
1250 verified contents of 15 revisions of 6 largefiles
@@ -1343,8 +1343,8 b' Test status after merging with a branch '
1343
1343
1344 - revert should be able to revert files introduced in a pending merge
1344 - revert should be able to revert files introduced in a pending merge
1345 $ hg revert --all -r .
1345 $ hg revert --all -r .
1346 removing .hglf/large
1346 removing .hglf/large (glob)
1347 undeleting .hglf/sub2/large6
1347 undeleting .hglf/sub2/large6 (glob)
1348
1348
1349 Test that a normal file and a largefile with the same name and path cannot
1349 Test that a normal file and a largefile with the same name and path cannot
1350 coexist.
1350 coexist.
@@ -708,6 +708,8 b' Do not warn about new head when the new '
708 adding file changes
708 adding file changes
709 added 1 changesets with 1 changes to 1 files (+1 heads)
709 added 1 changesets with 1 changes to 1 files (+1 heads)
710
710
711 #if serve
712
711 check hgweb does not explode
713 check hgweb does not explode
712 ====================================
714 ====================================
713
715
@@ -756,3 +758,4 b' Checking _enable=False warning if obsole'
756 date: Thu Jan 01 00:00:00 1970 +0000
758 date: Thu Jan 01 00:00:00 1970 +0000
757 summary: add celestine
759 summary: add celestine
758
760
761 #endif
@@ -71,7 +71,7 b' hg parents c, single revision'
71
71
72
72
73 $ hg parents -r 2 ../a
73 $ hg parents -r 2 ../a
74 abort: ../a not under root '$TESTTMP/repo'
74 abort: ../a not under root '$TESTTMP/repo' (glob)
75 [255]
75 [255]
76
76
77
77
@@ -44,7 +44,7 b' Expected to fail:'
44 [1]
44 [1]
45
45
46 $ hg push
46 $ hg push
47 pushing to $TESTTMP/test
47 pushing to $TESTTMP/test (glob)
48 searching for changes
48 searching for changes
49 adding changesets
49 adding changesets
50 adding manifests
50 adding manifests
@@ -612,7 +612,7 b' check illegal path components'
612 [255]
612 [255]
613 $ hg status -C
613 $ hg status -C
614 $ hg rename d1/d11/a1 ..
614 $ hg rename d1/d11/a1 ..
615 abort: ../a1 not under root '$TESTTMP'
615 abort: ../a1 not under root '$TESTTMP' (glob)
616 [255]
616 [255]
617 $ hg status -C
617 $ hg status -C
618
618
@@ -181,10 +181,10 b''
181 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
181 f mammals/Procyonidae/raccoon mammals/Procyonidae/raccoon
182 f mammals/skunk mammals/skunk
182 f mammals/skunk mammals/skunk
183 $ hg debugwalk ..
183 $ hg debugwalk ..
184 abort: .. not under root '$TESTTMP/t'
184 abort: .. not under root '$TESTTMP/t' (glob)
185 [255]
185 [255]
186 $ hg debugwalk beans/../..
186 $ hg debugwalk beans/../..
187 abort: beans/../.. not under root '$TESTTMP/t'
187 abort: beans/../.. not under root '$TESTTMP/t' (glob)
188 [255]
188 [255]
189 $ hg debugwalk .hg
189 $ hg debugwalk .hg
190 abort: path contains illegal component: .hg (glob)
190 abort: path contains illegal component: .hg (glob)
@@ -209,7 +209,7 b' Test absolute paths:'
209 f beans/pinto beans/pinto
209 f beans/pinto beans/pinto
210 f beans/turtle beans/turtle
210 f beans/turtle beans/turtle
211 $ hg debugwalk `pwd`/..
211 $ hg debugwalk `pwd`/..
212 abort: $TESTTMP/t/.. not under root '$TESTTMP/t'
212 abort: $TESTTMP/t/.. not under root '$TESTTMP/t' (glob)
213 [255]
213 [255]
214
214
215 Test patterns:
215 Test patterns:
General Comments 0
You need to be logged in to leave comments. Login now