diff 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
line wrap: on
line diff
--- 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