diff tests/test-backwards-remove.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 4c94b6d0fb1c
children 55c6ebd11cb9
line wrap: on
line diff
--- a/tests/test-backwards-remove.t	Fri Apr 10 19:53:36 2020 +0200
+++ b/tests/test-backwards-remove.t	Fri Apr 10 19:58:34 2020 +0200
@@ -2,7 +2,8 @@
   $ echo This is file a1 > a
   $ hg add a
   $ hg commit -m "commit #0"
-  $ ls
+  $ ls -A
+  .hg
   a
   $ echo This is file b1 > b
   $ hg add b
@@ -12,5 +13,6 @@
 
 B should disappear
 
-  $ ls
+  $ ls -A
+  .hg
   a