]> git.ipfire.org Git - thirdparty/rsync.git/commit
Allow `ls(1)` to fail in test setup
authorEmily <hello@emily.moe>
Tue, 5 Aug 2025 14:55:24 +0000 (15:55 +0100)
committerAndrew Tridgell <andrew@tridgell.net>
Sat, 23 Aug 2025 07:30:59 +0000 (17:30 +1000)
commita84b79ea58d584ba0fa1fe943ab4b540d9e64bf0
tree4e0c079d52028ee1f12788fceb995be0feea16e2
parentd4c4f6754eff0d8ea6fdb327abf5c874bfccb8dd
Allow `ls(1)` to fail in test setup

This can happen when the tests are unable to `stat(2)` some files in
`/etc`, `/bin`, or `/`, due to Unix permissions or other sandboxing. We
still guard against serious errors, which use exit code 2.
testsuite/longdir.test
testsuite/rsync.fns