coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

Attachment: coreutils-strace-inject.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]