D1156: tests: add test demonstrating regression in path audit

mbthomas (Mark Thomas) phabricator at mercurial-scm.org
Tue Oct 17 17:21:11 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd6009d1488e8: tests: add test demonstrating regression in path audit (authored by mbthomas, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1156?vs=2929&id=2945

REVISION DETAIL
  https://phab.mercurial-scm.org/D1156

AFFECTED FILES
  tests/test-audit-path.t

CHANGE DETAILS

diff --git a/tests/test-audit-path.t b/tests/test-audit-path.t
--- a/tests/test-audit-path.t
+++ b/tests/test-audit-path.t
@@ -119,9 +119,14 @@
 
   $ hg manifest -r3
   ../test
+  $ mkdir ../test
+  $ echo data > ../test/file
   $ hg update -Cr3
   abort: path contains illegal component: ../test (glob)
   [255]
+  $ cat ../test/file
+  cat: ../test/file: No such file or directory
+  [1]
 
 attack /tmp/test
 



To: mbthomas, #hg-reviewers, ryanmce
Cc: mercurial-devel


More information about the Mercurial-devel mailing list