interesting use of strace to inject errors for testing
From:
Pádraig Brady
Subject:
interesting use of strace to inject errors for testing
Date:
Sun, 11 Jan 2026 18:32:31 +0000
User-agent:
Mozilla Thunderbird Beta
FYI we've just pushed a new test in the attached that uses
strace to inject errors for testing, like:
$ strace -o /dev/null -P /dev/null -e fault=read:error=EIO \
cat /dev/null
cat: /dev/null: Input/output error
cheers,
Padraig