test: stabilize `test-audit-path.t` in rust (hopefully)
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 26 Oct 2024 12:56:02 +0200
changeset 52123 d12dc9139135
parent 52118 1bebe07bfd40
child 52124 47981c4bfeee
test: stabilize `test-audit-path.t` in rust (hopefully) We have been seeing flakiness on the file reported for a bit.
tests/test-audit-path.t
--- a/tests/test-audit-path.t	Fri Oct 18 14:14:24 2024 -0400
+++ b/tests/test-audit-path.t	Sat Oct 26 12:56:02 2024 +0200
@@ -224,7 +224,7 @@
   $ hg up -qC null
 #if rust
   $ hg up 1
-  abort: path 'a/*' traverses symbolic link 'a'
+  abort: path 'a/?' traverses symbolic link 'a' (glob)
   [10]
 #endif
 
@@ -239,15 +239,11 @@
 path 'a' is audited as a directory first, which should be audited again as
 a symlink.
 
-#if rust
   $ rm -rf a
-#else
-  $ rm -f a
-#endif
   $ hg up -qC 2
 
   $ hg up 1
-  abort: path 'a/b' traverses symbolic link 'a'
+  abort: path 'a/?' traverses symbolic link 'a' (glob)
   [255]
   $ ls ../update-symlink-out