diff tests/test-status-eacces.t @ 50294:bae51b50a5cf stable

dirstate-v2: fix an incorrect handling of readdir errors Make sure not to cache the results of a failed readdir call.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Mon, 13 Mar 2023 14:15:34 +0000
parents f1f3a8eb93a1
children 86d2a28c018e
line wrap: on
line diff
--- a/tests/test-status-eacces.t	Fri Mar 10 18:20:50 2023 +0000
+++ b/tests/test-status-eacces.t	Mon Mar 13 14:15:34 2023 +0000
@@ -9,6 +9,7 @@
   > EOF
 #endif
 
+
 The proliferation of status implementations can be confusing:
 - The pure python implementation:
 (no-rhg pure !)
@@ -31,20 +32,17 @@
   ! d1/x (rhg !)
   ! d1/x (no-rhg rust !)
   $ hg status
-  d1: $EACCES$ (rhg dirstate-v1 !)
-  d1: $EACCES$ (no-rhg rust dirstate-v1 !)
+  d1: $EACCES$ (rhg !)
+  d1: $EACCES$ (no-rhg rust !)
   d1: $EACCES$ (no-rust no-rhg !)
-  ! d1/x (rust dirstate-v1 !)
-  ! d1/x (no-rust rhg dirstate-v1 !)
+  ! d1/x (rust !)
+  ! d1/x (no-rust rhg !)
   $ chmod +r d1
   $ hg status
-  ? d1/y (rhg dirstate-v1 !)
-  ? d1/y (no-rhg rust dirstate-v1 !)
+  ? d1/y (rhg !)
+  ? d1/y (no-rhg rust !)
   ? d1/y (no-rhg no-rust !)
 
-TODO: make the tests marked with (dirstate-v1) above work the same way
-with dirstate-v2 as well.
-
   $ touch d1/z
   $ hg status
   ? d1/y