Tagged Questions
4
votes
1answer
153 views
Repeatably generate a read error for testing?
I'm trying to test the error handling in some software, in particular what happens when an error occurs reading from a file or pipe. Is there a simple way to send a certain amount of data to stdout ...