Mercurial > hg
diff tests/test-revert-interactive.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 | f802a75da585 |
children | ac362d5a7893 |
line wrap: on
line diff
--- a/tests/test-revert-interactive.t Fri Apr 10 19:53:36 2020 +0200 +++ b/tests/test-revert-interactive.t Fri Apr 10 19:58:34 2020 +0200 @@ -475,14 +475,16 @@ > EOF add back removed file a (Yn)? y undeleting a - $ ls + $ ls -A + .hg a $ hg rm a $ hg revert -i<<EOF > n > EOF add back removed file a (Yn)? n - $ ls + $ ls -A + .hg $ hg revert -a undeleting a $ cd ..