diff hgweb.cgi @ 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 c102b704edb5
children d5cd1fd690f3
line wrap: on
line diff