tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems
authorJoerg Sonnenberger <joerg@bec.de>
Thu, 09 Apr 2020 19:50:03 +0200
changeset 5317 baa0b481eec5
parent 5316 277b45cf0dda
child 5318 a799f5d228f1
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.
tests/test-amend-patch.t
tests/test-unstability-resolution-result.t
--- 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