Mercurial > hg
diff tests/test-update-reverse.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 | bd625cd4e5e7 |
children | 55c6ebd11cb9 |
line wrap: on
line diff
--- a/tests/test-update-reverse.t Fri Apr 10 19:53:36 2020 +0200 +++ b/tests/test-update-reverse.t Fri Apr 10 19:58:34 2020 +0200 @@ -12,7 +12,8 @@ 'main' should be gone: - $ ls + $ ls -A + .hg a $ touch side1 @@ -59,7 +60,8 @@ date: Thu Jan 01 00:00:00 1970 +0000 summary: Added main - $ ls + $ ls -A + .hg a side1 side2 @@ -76,7 +78,8 @@ getting main 1 files updated, 0 files merged, 2 files removed, 0 files unresolved - $ ls + $ ls -A + .hg a main