Mercurial > public > mercurial-scm > hg
diff tests/test-sparse-clone.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 | 5abc47d4ca6b |
children | 9c4204b7f3e4 |
line wrap: on
line diff
--- a/tests/test-sparse-clone.t Fri Apr 10 19:53:36 2020 +0200 +++ b/tests/test-sparse-clone.t Fri Apr 10 19:58:34 2020 +0200 @@ -34,7 +34,8 @@ warning: sparse profile 'webpage.sparse' not found in rev 000000000000 - ignoring it 1 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd clone1 - $ ls + $ ls -A + .hg index.html $ cd .. @@ -44,7 +45,8 @@ updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd clone2 - $ ls + $ ls -A + .hg backend.sparse webpage.sparse $ cd .. @@ -55,7 +57,8 @@ updating to branch default 4 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd clone3 - $ ls + $ ls -A + .hg backend.sparse index.html readme.txt @@ -67,6 +70,7 @@ $ hg clone -q --enable-profile webpage.sparse ssh://user@dummy/myrepo clone4 warning: sparse profile 'webpage.sparse' not found in rev 000000000000 - ignoring it $ cd clone4 - $ ls + $ ls -A + .hg index.html $ cd ..