changeset 5357:e48fd82923f1

tests: replace ls -A with hg status -A The latter provides more useful information and is not very expensive.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 07 Jun 2020 18:08:14 +0800
parents 0b9fcdcdc58f
children db1dfa818187
files tests/test-amend-patch.t tests/test-unstability-resolution-result.t
diffstat 2 files changed, 5 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-amend-patch.t	Sun Jun 07 18:02:15 2020 +0800
+++ b/tests/test-amend-patch.t	Sun Jun 07 18:08:14 2020 +0800
@@ -256,13 +256,9 @@
   @@ -0,0 +1,1 @@
   +Gello
 
-  $ hg status
+  $ hg status -A
   ? editor.sh
-
-  $ ls -A
-  .hg
-  changedfile
-  editor.sh
+  C changedfile
 
 Handling both deletions and additions
 -------------------------------------
--- a/tests/test-unstability-resolution-result.t	Sun Jun 07 18:02:15 2020 +0800
+++ b/tests/test-unstability-resolution-result.t	Sun Jun 07 18:08:14 2020 +0800
@@ -66,10 +66,9 @@
 
 Test evolve of orphan that run into conflict
 
-  $ ls -A
-  .hg
-  a
-  b
+  $ hg status -A
+  C a
+  C b
   $ hg pdiff a
   diff -r 07f494440405 a
   --- a/a	Thu Jan 01 00:00:00 1970 +0000