Mercurial > hg
comparison tests/test-audit-path.t @ 52123:d12dc9139135
test: stabilize `test-audit-path.t` in rust (hopefully)
We have been seeing flakiness on the file reported for a bit.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 26 Oct 2024 12:56:02 +0200 |
parents | 8b7123c8947b |
children |
comparison
equal
deleted
inserted
replaced
52118:1bebe07bfd40 | 52123:d12dc9139135 |
---|---|
222 'a' and 'a/b' are taken as good paths. still applyupdates() should fail. | 222 'a' and 'a/b' are taken as good paths. still applyupdates() should fail. |
223 | 223 |
224 $ hg up -qC null | 224 $ hg up -qC null |
225 #if rust | 225 #if rust |
226 $ hg up 1 | 226 $ hg up 1 |
227 abort: path 'a/*' traverses symbolic link 'a' | 227 abort: path 'a/?' traverses symbolic link 'a' (glob) |
228 [10] | 228 [10] |
229 #endif | 229 #endif |
230 | 230 |
231 #if no-rust | 231 #if no-rust |
232 $ hg up 1 | 232 $ hg up 1 |
237 | 237 |
238 try branch update replacing directory with symlink, and its content: the | 238 try branch update replacing directory with symlink, and its content: the |
239 path 'a' is audited as a directory first, which should be audited again as | 239 path 'a' is audited as a directory first, which should be audited again as |
240 a symlink. | 240 a symlink. |
241 | 241 |
242 #if rust | |
243 $ rm -rf a | 242 $ rm -rf a |
244 #else | |
245 $ rm -f a | |
246 #endif | |
247 $ hg up -qC 2 | 243 $ hg up -qC 2 |
248 | 244 |
249 $ hg up 1 | 245 $ hg up 1 |
250 abort: path 'a/b' traverses symbolic link 'a' | 246 abort: path 'a/?' traverses symbolic link 'a' (glob) |
251 [255] | 247 [255] |
252 $ ls ../update-symlink-out | 248 $ ls ../update-symlink-out |
253 | 249 |
254 $ cd .. | 250 $ cd .. |
255 | 251 |