diff tests/test-audit-path.t @ 34833:07bbb208a924

context: audit paths before clearing unknown files and dirs Fix regression introduced in D785. In some circumstances, context.clearunknown can be called before the path is audited. Audit the path before deleting any conflicting files. Differential Revision: https://phab.mercurial-scm.org/D1157
author Mark Thomas <mbthomas@fb.com>
date Tue, 17 Oct 2017 08:11:13 -0700
parents d6009d1488e8
children 2a774cae3a03
line wrap: on
line diff
--- a/tests/test-audit-path.t	Tue Oct 17 08:07:43 2017 -0700
+++ b/tests/test-audit-path.t	Tue Oct 17 08:11:13 2017 -0700
@@ -125,8 +125,7 @@
   abort: path contains illegal component: ../test (glob)
   [255]
   $ cat ../test/file
-  cat: ../test/file: No such file or directory
-  [1]
+  data
 
 attack /tmp/test