Mercurial > hg
comparison mercurial/bdiff.c @ 49594:88a8de821b5e stable
tests: make running ls in a no longer existing directory more portable
On Linux, ls -A simply returns nothing and the exit code is 0.
On NetBSD, ls -A complains that . doesn't exist and the exit code is 1.
Sadly, it's not possible to do something like "[1] (?)", so " || true" is the
best I could come up with.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 14 Nov 2022 19:58:44 +0400 |
parents | d4ba4d51f85f |
children |
comparison
equal
deleted
inserted
replaced
49593:e11760daee12 | 49594:88a8de821b5e |
---|