diff tests/test-import.t @ 44724:5c2a4f37eace

tests: deal with "ls" vs "ls -A" difference on 2BSD derived systems BSD-derived systems will use "ls -A" when running as root. Adjust the test cases to always use the flag and include .hg and related output as appropiately. Differential Revision: https://phab.mercurial-scm.org/D8397
author Joerg Sonnenberger <joerg@bec.de>
date Fri, 10 Apr 2020 19:58:34 +0200
parents b339faf3f843
children d1cabce5ef05
line wrap: on
line diff
--- a/tests/test-import.t	Fri Apr 10 19:53:36 2020 +0200
+++ b/tests/test-import.t	Fri Apr 10 19:58:34 2020 +0200
@@ -1823,7 +1823,8 @@
   $ hg status -c .
   C a
   C b
-  $ ls
+  $ ls -A
+  .hg
   a
   a.rej
   b
@@ -1870,7 +1871,8 @@
   $ hg status -c .
   C a
   C b
-  $ ls
+  $ ls -A
+  .hg
   a
   a.rej
   b
@@ -1919,7 +1921,8 @@
   $ hg status -c .
   C a
   C b
-  $ ls
+  $ ls -A
+  .hg
   a
   a.rej
   b