krieger-od/whdd — Issue #3: Set position after r/w fail in tests
Author: krieger-od
Created: 2011-12-18 08:44:12+00:00
State: open

man 2 read says:
On error, -1 is returned, and errno is set appropriately. In this case it is
left unspecified whether the file position (if any) changes.

So we must set it forcibly.