sstephenson/bats

echo: write error: Interrupted system call with batch run.

Opened this issue · 0 comments

I am seeing intermittent error while running batch tests, running the same test standalone works. Detailed analysis reveals that it only happens for test cases that uses run ... to execute the command. I am testing automation of some docker command which produces huge output.

/usr/local/libexec/bats-exec-suite: line 47: echo: write error: Interrupted system call

These are negative test cases and I need to check the status of the command, thus cannot avoid using run.. Let me know if there is an alternative to run to test negative test cases.