changeset 5269:baa0b481eec5

tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems ls on 2BSD derived systems historically defaults to -A for root, so use it unconditionally for consistent results.
author Joerg Sonnenberger <joerg@bec.de>
date Thu, 09 Apr 2020 19:50:03 +0200
parents 277b45cf0dda
children a799f5d228f1
files tests/test-amend-patch.t tests/test-unstability-resolution-result.t
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-amend-patch.t	Thu Apr 09 14:49:31 2020 +0200
+++ b/tests/test-amend-patch.t	Thu Apr 09 19:50:03 2020 +0200
@@ -257,7 +257,8 @@
   $ hg status
   ? editor.sh
 
-  $ ls
+  $ ls -A
+  .hg
   changedfile
   editor.sh
 
--- a/tests/test-unstability-resolution-result.t	Thu Apr 09 14:49:31 2020 +0200
+++ b/tests/test-unstability-resolution-result.t	Thu Apr 09 19:50:03 2020 +0200
@@ -66,7 +66,8 @@
 
 Test evolve of orphan that run into conflict
 
-  $ ls
+  $ ls -A
+  .hg
   a
   b
   $ hg pdiff a