Patchwork D5657: tests: clean up after each test in test-unamend.t

login
register
mail settings
Submitter phabricator
Date Jan. 24, 2019, 5:10 p.m.
Message ID <0056fa265fb6a5d9a176293cfdf16657@localhost.localdomain>
Download mbox | patch
Permalink /patch/37977/
State Not Applicable
Headers show

Comments

phabricator - Jan. 24, 2019, 5:10 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG713fbf057c7d: tests: clean up after each test in test-unamend.t (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5657?vs=13369&id=13405

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

AFFECTED FILES
  tests/test-unamend.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/tests/test-unamend.t b/tests/test-unamend.t
--- a/tests/test-unamend.t
+++ b/tests/test-unamend.t
@@ -232,6 +232,7 @@ 
 
   $ hg revert --all
   forgetting bar
+  $ rm bar
 
 Unamending in middle of a stack
 
@@ -302,7 +303,6 @@ 
 Testing whether unamend retains copies or not
 
   $ hg status
-  ? bar
 
   $ hg mv a foo
 
@@ -370,3 +370,5 @@ 
   diff --git a/c b/wat
   rename from c
   rename to wat
+  $ hg revert -qa
+  $ rm foobar wat