tests: clean up after each test in test-unamend.t
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 18 Jan 2019 16:49:18 -0800
changeset 41337 713fbf057c7d
parent 41336 763b45bc4483
child 41338 c7d425f7f5c9
tests: clean up after each test in test-unamend.t Differential Revision: https://phab.mercurial-scm.org/D5657
tests/test-unamend.t
--- a/tests/test-unamend.t	Thu Jan 24 10:21:59 2019 -0500
+++ b/tests/test-unamend.t	Fri Jan 18 16:49:18 2019 -0800
@@ -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