diff tests/test-largefiles.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 775224e26d74
children b0d45612c552
line wrap: on
line diff
--- a/tests/test-largefiles.t	Fri Apr 10 19:53:36 2020 +0200
+++ b/tests/test-largefiles.t	Fri Apr 10 19:58:34 2020 +0200
@@ -126,7 +126,9 @@
   Invoking status precommit hook
   R large1
   R normal1
-  $ ls
+  $ ls -A
+  .hg
+  .hglf
   sub
   $ echo "testlargefile" > large1-test
   $ hg add --large large1-test
@@ -254,7 +256,8 @@
   $ cat sub/large2
   large22
   $ cd ../archive2
-  $ ls
+  $ ls -A
+  .hg_archival.txt
   sub
   $ cat sub/normal2
   normal22