diff tests/test-sparse-requirement.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 a0886a4d6dce
children 95c4cca641f6
line wrap: on
line diff
--- a/tests/test-sparse-requirement.t	Fri Apr 10 19:53:36 2020 +0200
+++ b/tests/test-sparse-requirement.t	Fri Apr 10 19:58:34 2020 +0200
@@ -26,7 +26,8 @@
   testonly-simplestore (reposimplestore !)
 
   $ hg debugsparse --config extensions.sparse= --enable-profile frontend.sparse
-  $ ls
+  $ ls -A
+  .hg
   a.html
   b.html